Main Content

mxIsInt64 (C)

Determine whether mxArray represents data as signed 64-bit integers

C Syntax

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


mxIsInt64 returns logical 1 (true) if the mxArray represents its real and imaginary data as 64-bit signed integers. Otherwise, it returns logical 0 (false).

In C, calling mxIsInt64 is equivalent to calling:

mxGetClassID(pm) == mxINT64_CLASS
Introduced before R2006a