Embedded Target for Texas Instruments C6000 DSPs | ![]() ![]() |
Creating DSP Application Models for Targeting
Create your real-time model for your application the way you create any other Simulink model--by using standard blocks and C-MEX S-functions. Select blocks to build your model from any of the following sources:
Using Logging in Your DSP Applications
Simulink offers various data logging capabilities in the Simulation Parameters dialog for your model. Found on the Workspace I/O pane of the Simulation Prameters dialog, the implicit logging options let you specify how and when Simulink logs model operations and gets data from your workspace.
When your model is running on the target, it cannot communicate directly with MATLAB. Configuration options that tell your model to send or retrieve data from your MATLAB workspace do not work and use processing time to no benefit.
To avoid these effects, do not enable options on the Workspace I/O pane in the Simulation Parameters dialog in your model.
To Turn Off Logging in Your Model
Follow this procedure to disable the logging options in your existing Simulink model.
Instead of using the Workspace I/O options in Real-Time Workshop to eliminate logging during code generation and operation, run
from your MATLAB command prompt before you create new Simulink models. Running dspstartup
disables the Workspace I/O options in the Simulation Parameters dialog for your new models.
![]() | Configuring Reset Blocks | Generating Code from Real-Time Models | ![]() |