Simulink crashes when adding a breakpoint to a MATLAB function block
A Simulink model I have will hard crash Simulink and MATLAB when I insert a breakpoint in a MATLAB function block. However, this only happens when I run the simulation in Normal mode. When I run in Accelerator mode, the break point works fine. The model didn’t always have this problem, but I’m not sure what caused it. Unfortunately, it takes a long time to crash, reopen, and reload the large model and I haven’t been able to isolate the cause.
Is there a general reason why breakpoints in MATLAB function blocks would crash Simulink in Normal mode, but not inAccelerator? I need to run the model in Normal mode for some other features I’d like to use.A Simulink model I have will hard crash Simulink and MATLAB when I insert a breakpoint in a MATLAB function block. However, this only happens when I run the simulation in Normal mode. When I run in Accelerator mode, the break point works fine. The model didn’t always have this problem, but I’m not sure what caused it. Unfortunately, it takes a long time to crash, reopen, and reload the large model and I haven’t been able to isolate the cause.
Is there a general reason why breakpoints in MATLAB function blocks would crash Simulink in Normal mode, but not inAccelerator? I need to run the model in Normal mode for some other features I’d like to use. A Simulink model I have will hard crash Simulink and MATLAB when I insert a breakpoint in a MATLAB function block. However, this only happens when I run the simulation in Normal mode. When I run in Accelerator mode, the break point works fine. The model didn’t always have this problem, but I’m not sure what caused it. Unfortunately, it takes a long time to crash, reopen, and reload the large model and I haven’t been able to isolate the cause.
Is there a general reason why breakpoints in MATLAB function blocks would crash Simulink in Normal mode, but not inAccelerator? I need to run the model in Normal mode for some other features I’d like to use. simulink, matlab function block, crash, accelerator MATLAB Answers — New Questions