23.07.2012 Views

MATLAB C++ Math Library Reference

MATLAB C++ Math Library Reference

MATLAB C++ Math Library Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

0ndims<br />

Purpose Number of array dimensions<br />

<strong>C++</strong> Prototype mwArray ndims(const mwArray &A);<br />

<strong>C++</strong> Syntax #include "matlab.hpp"<br />

<strong>MATLAB</strong><br />

Syntax<br />

mwArray A; // Input argument(s)<br />

mwArray n; // Return value<br />

n = ndims(A);<br />

n = ndims(A)<br />

Description This function always returns 2 for version 1.2 of the <strong>Math</strong> <strong>Library</strong>.<br />

See Also <strong>MATLAB</strong> ndims Calling Conventions<br />

ndims<br />

261

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!