C Math Library Reference | ![]() ![]() |
Minimum number of arguments: two; maximum number of arguments: user-defined. Terminate the list of arguments with a NULL
.
C Prototype
mxArray *mlfReshape(mxArray *A, mxArray *m, ...);
C Syntax
#include "matlab.h" mxArray *A; /* Required input argument(s) */ mxArray *m, *n, *p, *siz; /* Optional input argument(s) */ mxArray *B = NULL; /* Return value */ mlfAssign(&B, mlfReshape(A,m,n,NULL)); mlfAssign(&B, mlfReshape(A,m,n,p,...,NULL)); mlfAssign(&B, mlfReshape(A,mlfHorzcat(m,n,p,...,NULL),NULL)); mlfAssign(&B, mlfReshape(A,siz,NULL));
MATLAB Syntax
B = reshape(A,m,n) B = reshape(A,m,n,p,...) B = reshape(A,[m n p...]) B = reshape(A,siz)
See Also
reshape
Calling Conventions![]() | mlfRepmat | mlfResi2 | ![]() |