验证 Fortran 数据
确定数组数据的类型或特征
使用这些函数验证输入参数。
Fortran 函数
数值
mxIsDouble | Determine whether mxArray represents data as double-precision, floating-point numbers |
mxIsSingle | Determine whether mxArray represents data as single-precision, floating-point numbers |
mxIsComplex | Determine whether data is complex |
mxIsNumeric | Determine whether mxArray is numeric |
mxIsInt64 | Determine whether mxArray represents data as signed 64-bit integers |
mxIsUint64 | Determine whether mxArray represents data as unsigned 64-bit integers |
mxIsInt32 | Determine whether mxArray represents data as signed 32-bit integers |
mxIsUint32 | Determine whether mxArray represents data as unsigned 32-bit integers |
mxIsInt16 | Determine whether mxArray represents data as signed 16-bit integers |
mxIsUint16 | Determine whether mxArray represents data as unsigned 16-bit integers |
mxIsInt8 | Determine whether mxArray represents data as signed 8-bit integers |
mxIsUint8 | Determine whether mxArray represents data as unsigned 8-bit integers |
字符
mxIsChar | Determine whether input is mxChar array |
逻辑值
mxIsLogical | Determine whether mxArray is of type mxLogical |
稀疏
mxIsSparse | Determine whether input is sparse mxArray |
结构体
mxIsStruct | Determine whether mxArray is structure |
元胞
mxIsCell | Determine whether mxArray is cell array |
类
mxIsClass | Determine whether mxArray is object of specified class |
常量
mxIsInf | Determine whether input is infinite |
mxIsFinite | Determine whether input is finite |
mxIsNaN | Determine whether input is NaN (Not-a-Number) |
属性
mxIsEmpty | Determine whether mxArray is empty |
工作区
mxIsFromGlobalWS | Determine whether mxArray was copied from MATLAB global workspace |
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)