Generate Code and Deploy the Model to the Hardware
In the Simulink® Editor from the Simulation tab, select Prepare > Model Settings.
In the Configuration Parameters dialog box, on the Hardware Implementation pane, set Hardware board to match your hardware board.
From the Hardware tab, select Monitor & Tune > Connect.
To build and run the model containing your System object™ on the hardware board, select Monitor & Tune > Run.
While the model runs on the hardware, the LED
blinks on and off in 1
second intervals.
See Also
Create a Digital Read Block | Create the MATLAB System Block | Create a Digital Read Block | Block Mask | Simulation with Device Driver Blocks | Sharing Device Driver Blocks with Other Users