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.

0cat<br />

Purpose Concatenate arrays<br />

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

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

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

.<br />

.<br />

.<br />

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

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

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

Syntax<br />

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

mwArray A1, A2, A3, A4; // Input argument(s)<br />

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

mwArray C; // Return value<br />

C = cat(dim,A,B);<br />

C = cat(dim,A1,A2,A3,A4,...);<br />

C = cat(dim,A,B)<br />

C = cat(dim,A1,A2,A3,A4...)<br />

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

cat<br />

55

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

Saved successfully!

Ooh no, something went wrong!