Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

mxIsInt64 (C and Fortran)

Determine whether array represents data as signed 64-bit integers

C Syntax

#include "matrix.h"
bool mxIsInt64(const mxArray *pm);

Fortran Syntax

#include "fintrf.h"
integer*4 mxIsInt64(pm)
mwPointer pm

Arguments

pm

Pointer to an mxArray

Returns

Logical 1 (true) if the array stores its data as signed 64-bit integers, and logical 0 (false) otherwise.

Description

Use mxIsInt64 to determine whether the specified array represents its real and imaginary data as 64-bit signed integers.

In C, calling mxIsInt64 is equivalent to calling:

mxGetClassID(pm) == mxINT64_CLASS

In Fortran, calling mxIsInt64 is equivalent to calling:

mxGetClassName(pm) == 'int64'

Introduced before R2006a

Was this topic helpful?