Main Content
Validate Fortran Data
Determine type or characteristic of array data
Use these functions to validate input arguments.
Fortran Functions
Numeric
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 |
Character
mxIsChar | Determine whether input is mxChar array |
Logical
mxIsLogical | Determine whether mxArray is of type mxLogical |
Sparse
mxIsSparse | Determine whether input is sparse mxArray |
Structure
mxIsStruct | Determine whether mxArray is structure |
Cell
mxIsCell | Determine whether mxArray is cell array |
Class
mxIsClass | Determine whether mxArray is object of specified class |
Constants
mxIsInf | Determine whether input is infinite |
mxIsFinite | Determine whether input is finite |
mxIsNaN | Determine whether input is NaN (Not-a-Number) |
Attributes
mxIsEmpty | Determine whether mxArray is empty |
Workspace
mxIsFromGlobalWS | Determine whether mxArray was copied from MATLAB global workspace |
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
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)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)