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

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

[Octave-bug-tracker] [bug #50358] Document that no null java object exis


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #50358] Document that no null java object exists
Date: Mon, 20 Feb 2017 13:45:09 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0

Update of bug #50358 (project octave):

                Category:                    None => Documentation          

    _______________________________________________________

Follow-up Comment #4:

As Carnë said, for Matlab compatibility, any Java null reference must be
converted to an empty array and it must be of type double. This has been
worked out before, but can be tested again in a current version of Matlab if
confirmation is needed.

The Matlab compatible way to test for a "null" return value from a Java method
is to test that both isempty(x) and isnumeric(x) are true (see
http://www.mathworks.com/matlabcentral/newsreader/view_thread/53512 for
example).

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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