xPC Target | ![]() ![]() |
Adding a Simulink Outport Block
If you want to log signal data to the MATLAB workspace for analysis and later save that data to a disk, you need to add a Simulink Outport block and activate logging from the Simulation Parameters dialog box.
The following procedure uses the Simulink model xpc_osc.mdl
as an example. To create this model, see Creating a Simple Simulink Model.
xpc_osc1
and then click OK.
Your next task is to enter parameters for the Outport block. See Entering Parameters for Outport Blocks.
![]() | Creating a Simple Simulink Model | Entering Parameters for Outport Blocks | ![]() |