The DSP Simulink® model templates let you automatically configure the Simulink environment with the recommended settings for digital signal processing modeling. DSP Simulink model templates enable reuse of settings, including configuration parameters. You can create models from templates that use best practices and take advantage of previous solutions to common problems. Instead of the default canvas of a new model, select a template model to help you get started.
For more information on Simulink model templates, see Create a New Model in the Simulink documentation.
To use the DSP Simulink model templates:
Open the Library Browser by typing
the MATLAB® command prompt.
Click the New Model button arrow and select From Template.
In the Simulink Template Gallery, under DSP System Toolbox™, double-click the model template you want.
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 one of the DSP Simulink model templates, the model is configured to use the settings recommended for DSP System Toolbox. Some of these settings are:
The three DSP Simulink model templates are:
Double-click Blank Model to create a blank model configured with settings recommended for DSP System Toolbox.
Double-click Basic Model to create a basic filtering model configured with settings recommended for DSP System Toolbox.
This model implements a low pass filter and enables you to compare the filtered signal with the original signal. The model acts as a starting point for modeling filtering algorithms in Simulink using DSP System Toolbox.
Double-click Audio Model to create an audio model configured with settings recommended for DSP System Toolbox.
This model uses a From Multimedia File block to read multimedia files, and a To Audio Device block to send sound data to your computer's audio device. The model acts as a starting point for modeling audio processing algorithms in Simulink using DSP System Toolbox.