C++ Math Library Reference | ![]() ![]() |
C++ Prototype
mwArray struct_func(const mwVarargin &in1, const mwArray &in2=mwArray::DIN, . . . const mwArray &in32=mwArray::DIN);
C++ Syntax
#include "matlab.hpp" mwArray values1, values2; // Input argument(s) mwArray s; // Return value s = struct_func("field1
",values1,"field2
",values2,...);
MATLAB Syntax
s = struct('field1
',values1,'field2
',values2,...)
See Also
struct
Calling Conventions![]() | strtok | struct2cell | ![]() |