Matlab crash when updating S-Function binary

2 次查看(过去 30 天)
I am developing an S-Function to be used in Simulink. While the block is in development, there is a lot of recompiling and I think this is causing Matlab to crash. My current workflow consists of something similar to the following:
-Modify the C/C++ source code
-Recompile with mex
-Rerun simulation diagram
Frequently, when I try to run the simulation directly after a recompile, Matlab will crash before the simulation even has a chance to start. In fact, sometimes I need not even start the simulation to trigger a crash, but simply trying to save or close the diagram after a compilation will cause the same behavior.
Any ideas or similar experiences? Thanks in advance. -Nick
OS: CentOS 7
MATLAB: R2017b
Compiler: gcc 4.8.5
  1 个评论
Neil Guertin
Neil Guertin 2018-5-4
Please post your crash log (can be found as described here: https://www.mathworks.com/matlabcentral/answers/100816-how-do-i-locate-the-crash-dump-files-generated-by-matlab ). Or better yet, submit it through the dialog that appears after the crash. If the log matches a known issue our automated system will send you a link with more information, and if not then a member of our technical support team will be able to assist you.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by