DSP Blockset    
dspstartup

Configure the Simulink environment for DSP systems

Syntax

Description

dspstartup configures a number of Simulink environment parameters with settings appropriate for a typical DSP project. When the Simulink environment has successfully been configured, the function displays the following message in the command window.

To automatically configure the Simulink environment at startup, add a call to dspstartup.m from your startup.m file. If you do not have a startup.m file on your path, you can create one from the startupsav.m template in the toolbox/local directory.

To edit startupsav.m, simply replace the load matlab.mat command with a call to dspstartup.m, and save the file as startup.m. The result should look like this.

For more information, see the description for the startup command in the MATLAB documentation, Using dspstartup.m.

The dspstartup.m script sets the following Simulink environment parameters. See Appendix A, "Model and Block Parameters," in the Simulink documentation for complete information about a particular setting.

Parameter
Setting
SingleTaskRate
TransMsg
error
Solver
fixedstepdiscrete
SolverMode
SingleTasking
StartTime
0.0
StopTime
inf
FixedStep
auto
SaveTime
off
SaveOutput
off
AlgebraicLoopMsg
error
InvariantConstants
on
RTWOptions
[get_param(0,'RTWOptions')', -aRollThreshold=2']

See Also

startup
MATLAB


  dsplib liblinks