Why does running my mex function cause matlab to shutdown?

For some reason the mexw64 function I have compiled causes matlab to shut down on me. I compiled the mex function in visual c++ 2010, and none of the source code has any sign of the function 'exit()', which i found was a common cause here:
Ideas anyone?

回答 (2 件)

Shashank Prasanna
Shashank Prasanna 2013 年 6 月 21 日

0 投票

Are you sure it isn't crashing but exiting gracefully?
Here is where you can check if there is a crash dump:
Youssef  Khmou
Youssef Khmou 2013 年 6 月 21 日

0 投票

hi, One probable reason is that the name of your function already exists in Mat built-in functions directory, check the name of your function :
which your function name
example :
which fft

カテゴリ

ヘルプ センター および File ExchangeMATLAB Compiler についてさらに検索

タグ

質問済み:

2013 年 6 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by