typedef error: Mex file Matlab 2013b OSX 10.

6 visualizaciones (últimos 30 días)
Joseph Cullen
Joseph Cullen el 4 de Jun. de 2014
I am getting the following error when trying to run a mex file I compiled on a Mac use the compiler in Xcode. Other users have said that they needed to change the typedef for Linux. Any ideas about what it should be for Mac?
Error:
Error using find1dmex
FIND1DMEX: incorrect int32 definition (modify MEX file is required)
Error in findfirst (line 106)
B = find1dmex(A, count);
Error in test_nonparam (line 80)
z=findfirst(d)
For Windows
typedef __int64 int64;
typedef __int32 int32;
typedef __int16 int16;
typedef __int8 int08;
For Linux:
typedef long long int int64;
typedef long int int32;
typedef short int16;
typedef char int08;
For Mac: ??????????????

Respuestas (0)

Categorías

Más información sobre Write C Functions Callable from MATLAB (MEX Files) en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by