The Communications Toolbox™ Simulink® model template lets you automatically configure the Simulink environment with the recommended settings for communications modeling. Communications Toolbox Simulink model templates enable reuse of settings, including configuration parameters. The model you create from the template uses best practices and takes advantage of previous solutions to common problems which helps you get started more quickly.
For more information on Simulink model templates, see Build and Edit a Model Interactively (Simulink).
To create a new blank model and open the library browser:
On the MATLAB® Home tab, click Simulink, and choose the Communications model template.
Click Create Model to create an empty model with settings suitable for use with Communications Toolbox. The new model opens. To access the library browser, click the Library Browser button on the model toolbar.
The new model using the template settings and contents appears in the Simulink Editor. The model is only in memory until you save it.
When you create a model by choosing the Communications Toolbox Simulink model template, the model is configured to use the settings recommended for communications modeling. Some of these settings are:
Configuration Parameter | Setting |
---|---|
'SingleTaskRateTransMsg' | 'error' |
'Solver' | 'VariableStepDiscrete' |
'EnableMultiTasking' | 'Off' |
'MaxStep' | 'auto' |
'StartTime' | '0.0' |
'StopTime' | 'inf' |
'FixedStep' | 'auto' |
'SaveTime' | 'off' |
'SaveOutput' | 'off' |
'AlgebraicLoopMsg' | 'error' |
'RTWInlineParameters' | 'on' |
'BooleanDataType' | 'off' |
'UnnecessaryDatatypeConvMsg' | 'none' |
'LocalBlockOutputs' | 'off' |
You can type showcommblockdatatypetable
at the MATLAB command line to generate a table showing characteristics of
Simulink blocks in Communications Toolbox.