Clear Filters
Clear Filters

Matlab crash when updating S-Function binary

2 views (last 30 days)
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 Comment
Neil Guertin
Neil Guertin on 4 May 2018
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.

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!