[Top][All Lists]

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

[Octave-bug-tracker] [bug #54096] mxCreateStructMatrix with a NULL argum

From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #54096] mxCreateStructMatrix with a NULL argument creates a "corrupt" structure
Date: Mon, 11 Jun 2018 11:17:35 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #2, bug #54096 (project octave):

The end of the post disappeared here because of a botched verbatim tag.

Anyway, I think you mean a NULL argument to mxSetFieldByNumber?

I'm pretty sure that mxCreateDoubleMatrix (0, 0, mxREAL) does not return NULL.
 But maybe Matlab handles NULL specially in this case?

Regardless, we should definitely not be creating invalid objects.

However, I'm curious to know whether it is documented that Matlab accepts NULL
here to mean "empty matrix".


Reply to this item at:


  Message sent via Savannah

reply via email to

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