Matlab crashes after mex from cpp

28 ビュー (過去 30 日間)
Hello
I usually have my Matlab crashes after the succesfully completion of mex from cpp to mexmaci64. It gives a warning message that an internal error occured and needs to shut down and it prompts me either send a report to Matlab or not.
I need to try maybe more than 6-8 times to make it run without crashing. After multiple attemps, it will eventually finishes running without crashing. Any idea why this might happen?
  5 件のコメント
Walter Roberson
Walter Roberson 2019 年 8 月 4 日
For example if you compile the code and then quit MATLAB and then restart MATLAB and run code that uses the .mex* file, then do you still get the crash?
If you use mex to compile the file but do not run the .mex* file, then does the crash still appear?

サインインしてコメントする。

採用された回答

Prasad Parameswaran
Prasad Parameswaran 2019 年 10 月 23 日

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by