matlab mxgetnumberofdimensions函数语法

发表matlab mxgetnumberofdimensions函数相关文章
一句话说明: Number of dimensions in array

mxGetNumberOfDimensions (C and Fortran)

Number of dimensions in array

C Syntax

#include "matrix.h"
mwSize mxGetNumberOfDimensions(const mxArray *pm);

Fortran Syntax

mwSize mxGetNumberOfDimensions(pm)
mwPointer pm

Arguments

pm

Pointer to an mxArray

Returns

Number of dimensions in the specified mxArray. The returned value is always 2 or greater.

Description

Use mxGetNumberOfDimensions to determine how many dimensions are in the specified array. To determine how many elements are in each dimension, call mxGetDimensions.

Examples

See the following examples in matlabroot/extern/examples/mex.

See the following examples in matlabroot/extern/examples/refbook.

See the following examples in matlabroot/extern/examples/mx.

See Also

mxSetM, mxSetN, mxGetDimensions

欢迎转载,转载请注明来自一手册:http://yishouce.com/matlab/func/mxgetnumberofdimensions

与matlab mxgetnumberofdimensions用法相关的文章

友情链接It题库(ittiku.com)| 版权归yishouce.com所有| 友链等可联系 admin#yishouce.com|粤ICP备16001685号-1