Getting Started | ![]() ![]() |
Sending Data to the MATLAB Workspace
This section explains how to send data from a Simulink model to the MATLAB workspace so you can analyze the results of simulations in greater detail.
Using a Signal To Workspace Block
You can use a Signal To Workspace block, from the DSP Sinks library, to send data to the MATLAB workspace as a vector. For example, you can send the error rate data from the Hamming code model, described in the section Reducing the Error Rate Using a Hamming Code. To insert a Signal to Workspace block into the model, follow these steps:
hammingdoc
at the MATLAB Help browser to open the model.
Hamming Code Model with a Signal To Workspace Block
![]() | Using the Communications Blockset with MATLAB | Configuring the Signal To Workspace Block | ![]() |