Using Simulink | ![]() ![]() |
Using the Simulink Accelerator with the Simulink Debugger
If you have large and complex models that you need to debug, the Simulink Accelerator can shorten the length of your debugging sessions. For example, if you need to set a time break that is very large, you can use the Accelerator to reach the breakpoint more quickly.
To run the Simulink debugger while in Accelerator mode:
sldebug modelname
at the MATLAB prompt.
tbreak 10000 continue
emode
(execution mode) to toggle between Accelerator and Normal mode. Note that when the execution is set to Accelerator, block stepping is not permitted. For more information on the Simulink debugger, see Chapter 11, Simulink Debugger.
![]() | Blocks That Do Not Show Speed Improvements | Interacting with the Simulink Accelerator Programmatically | ![]() |