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

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

[Octave-bug-tracker] [bug #52904] "mesh" with input array of "logical" c


From: Rik
Subject: [Octave-bug-tracker] [bug #52904] "mesh" with input array of "logical" causes error
Date: Tue, 16 Jan 2018 16:50:57 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #12, bug #52904 (project octave):

@Dan: My guess is that we should wrap the entire set of commands in a
try/catch block, but it is subject to verification with Matlab.

@Markus: Could you try the following under Matlab


h = line ([0 1], [0 1], 'createfcn', @() error ('fail to create'))


Under Octave, it runs the createfcn which produces an error, but doesn't stop
an object from being created.


octave:8> h = line ([0 1], [0 1], 'createfcn', @() error ('fail to create'))
error: fail to create
execution error in graphics callback function
h = -19.524
octave:9> ishghandle (h)
ans = 1




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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