DSP Blockset | ![]() |
Miscellaneous Settings
The dspstartup
M-file adjusts several other parameters to make it easier to run DSP simulations. Two of the important settings are
'Stop time'
is set to 'Inf'
, which allows the simulation to run until you manually stop it by selecting Stop from the Simulation menu, or by clicking the Stop Simulation button on the toolbar. To set a finite stop time, enter a value for the Stop time parameter in the Simulation Parameters dialog box.
'Solver'
is set to 'fixedstepdiscrete'
, which selects the fixed-step solver option instead of the Simulink default variable-step solver. (This mode enables code generation from the model using Real-Time Workshop.) See Discrete-Time Signals for more information about the various solver settings.
![]() | Performance-Related Settings in dspstartup.m |