|
From: | John W. Eaton |
Subject: | [Octave-bug-tracker] [bug #51725] Adding mxGetProperty to Matlab API |
Date: | Fri, 11 Aug 2017 18:07:32 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #7, bug #51725 (project octave): Rik: I'm surprised that your test assert (mexprop (x, "FooBar"), []) worked since mxGetProperty returns NULL for unknown property names. Shouldn't your mexproto function check for that and explicitly assign an empty matrix or throw an error in that case? _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?51725> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |