Filter löschen
Filter löschen

Difference between debug mode and normal mode

2 Ansichten (letzte 30 Tage)
Yuan Xiao
Yuan Xiao am 31 Jan. 2017
Bearbeitet: Ankit Bhatnagar am 9 Feb. 2017
It is very wired that when I use simulink debugger to run my Simulink model(I do not step, just continue), my model execute fine. However, when I use normal mode to launch my model, it always crush first time and if I launch second time, it works fine. So, I am really curious is there any configuration setting difference in debug mode?

Antworten (1)

Ankit Bhatnagar
Ankit Bhatnagar am 8 Feb. 2017
Bearbeitet: Ankit Bhatnagar am 9 Feb. 2017
If your model has MATLAB function blocks, there was a known issue with Simulink in which MATLAB function blocks behave different in debug mode vs normal mode, as mentioned here. So apply the patch for this.
This issue was resolved in the latest MATLAB R2016b release. If that's the case, attach screenshots or error logs.

Kategorien

Mehr zu Simulink Environment Customization finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by