User`s guide

The Rapid Prototyping Process
1-9
This highly productive development cycle is possible because the Real-Time
Workshop is closely tied to MATLAB and Simulink. Each package contributes
tothedesignofyourapplication:
MATLAB — Design, analysis, and data visualization tools
Simulink — System modeling, simulation, and validation
Real-Time Workshop — C code generation from Simulink model and
framework for running generated code in real-time, tuning (modifying)
parameters, and viewing real-time data
Rapid Prototyping for Digital Signal Processing
The first step in the rapid prototyping process for digital signal processing is to
consider the kind and quality of the data to be worked on and to relate it to the
system requirements. Typically this includes examining the signal-to-noise
ratio, distortion, and other characteristics of the incoming signal, and relating
them to algorithm and design choices.
System Simulation and Algorithm Design
In the rapid prototyping process, the role of the block diagram in algorithm
development is twofold. It supplies a way to identify processing bottlenecks and
to optimize the algorithm or system architecture. It also provides a high-level
system description, that is, a hierarchical framework for evaluating the
behavior and accuracy of alternative algorithms under a range of operating
conditions.
Analyzing Results, Parameter Tuning, and Signal Monitoring
Using External Mode
Once an algorithm (or a set of candidate algorithms) has been created, the next
stage is to consider architectural and implementation issues such as
complexity, speed, and accuracy. In the conventional case, this meant recoding
the algorithm in C or in a hardware design and simulation package.
After building the executable and downloading it to your hardware, you can
tune (modify) block parameters in Simulink and automatically download the
new values to the hardware. To change these parameters from the Simulink
block diagram, you can run Simulink in external mode. Simulink’s external
mode allows you to change parameters interactively without stopping the
real-time execution of your signal processing algorithms on the hardware.