フィルターのクリア

issue related to mex file in matlab

1 回表示 (過去 30 日間)
Sujeet Mishra
Sujeet Mishra 2012 年 1 月 6 日
Hi , I have a mex file corresponding to a .cpp file generated from MATLAb version R2011b .But my Matlab setup is R2011a .I am getting an error like "Invalid MEX-file" while running the file in my MATLAB setup ...Is it because of version change ...Is the mex file not backward compatible ???

回答 (1 件)

James Tursa
James Tursa 2012 年 1 月 6 日
In general, mex routines are not backward or forward compatible. It all depends on what versions you are running, which OS you are using, and what the mex routine is doing. And I am not aware of any reference you can consult to determine what to avoid & how to make the mex routine portable. In some cases it simply will not be possible. The generic advice is to recompile.

カテゴリ

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