|
| From: | Rik |
| Subject: | [Octave-bug-tracker] [bug #42562] 3.8.1 can't load mat file (>maltab r2010b) |
| Date: | Mon, 16 Jun 2014 03:02:05 +0000 |
| User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 |
Follow-up Comment #13, bug #42562 (project octave):
To find out ndims directly from a dim_vector it is usually sufficient to take
the length of the dim_vector. This will not tell you whether one of the
dimensions is zero though so a 1x0 object still has 2 dimensions.
dim_vector dv;
ndims = dv.length ();
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?42562>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |