octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #50294] version('-release') has no result


From: Georg Wiora
Subject: [Octave-bug-tracker] [bug #50294] version('-release') has no result
Date: Mon, 13 Feb 2017 09:53:45 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0

URL:
  <http://savannah.gnu.org/bugs/?50294>

                 Summary: version('-release') has no result
                 Project: GNU Octave
            Submitted by: gwiora
            Submitted on: Mon 13 Feb 2017 03:53:44 PM CET
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: gwiora
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Calling the following has no result in octave:

>> version('-release')

Documentation states it should return "the name of the running build".

In matlab the "-release" option causes version to return "release number for
the MATLAB software currently running". This is what octave returns without
argument. Example:

>> version
ans = 4.2.0


I guess it would not be a good idea to return the release number of  octave
here because matlab code would not work as expected anyway. I suggest to give
the return value written in the octave documentation. This could force matlab
code normally into an error and therefore help to adapt it to a more protable
behaviour.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50294>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]