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.

0struct_func<br />

Purpose Create structure array<br />

<strong>C++</strong> Prototype mwArray struct_func(const mwVarargin &in1,<br />

const mwArray &in2=mwArray::DIN,<br />

.<br />

.<br />

.<br />

const mwArray &in32=mwArray::DIN);<br />

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

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

Syntax<br />

mwArray values1, values2; // Input argument(s)<br />

mwArray s; // Return value<br />

s = struct_func("field1",values1,"field2",values2,...);<br />

s = struct('field1',values1,'field2',values2,...)<br />

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

struct_func<br />

378

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

Saved successfully!

Ooh no, something went wrong!