23.07.2012 Views

MATLAB C++ Math Library Reference

MATLAB C++ Math Library Reference

MATLAB C++ Math Library Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

0load<br />

Purpose Load up to 16 mwArray variables from disk<br />

<strong>C++</strong> Prototype void load(const mwArray &file,<br />

const char* name1, mwArray *var1,<br />

const char* name2=NULL, mwArray *var2=NULL,<br />

.<br />

.<br />

.<br />

const char* name16=NULL, mwArray *var16=NULL);<br />

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

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

Syntax<br />

mwArray file; // String array(s);<br />

mwArray x, y, z; // Input argument(s)<br />

load(file,"X",&x);<br />

load(file,"X",&x,"Y",&y);<br />

load(file,"X",&x,"Y",&y,"Z",&z,...);<br />

load fname X<br />

load fname X,Y,Z<br />

load fname X,Y,Z...<br />

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

load<br />

231

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

Saved successfully!

Ooh no, something went wrong!