typedef error: Mex file Matlab 2013b OSX 10.

6 ビュー (過去 30 日間)
Joseph Cullen
Joseph Cullen 2014 年 6 月 4 日
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 件)

カテゴリ

Help Center および File ExchangeWrite C Functions Callable from MATLAB (MEX Files) についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by