32/64 bit C MEX

Hello,
I'd like to know how to setup my c-mex compiler to compile my function as a 32-bit function instead of 64. My matlab is win64 version and my compiler is Microsoft Visual C++ 2010.
Regards,
Daniel

 採用された回答

Walter Roberson
Walter Roberson 2012 年 11 月 23 日

2 投票

Install the 32 bit version of MATLAB as well, and use it. Remember to use mex -setup from within the 32 bit version.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および 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