typedef error: Mex file Matlab 2013b OSX 10.
6 次查看(过去 30 天)
显示 更早的评论
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: ??????????????
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!