Connecting to Hardware
You can connect your Simulink model to hardware for rapid prototyping, hardware-in the-loop (HIL) simulation, and deployment on an embedded system.
Running Simulations on Hardware
Simulink provides built-in support for prototyping, testing, and running models on low-cost target hardware, such as Arduino®, LEGO® MINDSTORMS® NXT, and Raspberry Pi. You can design algorithms in Simulink for control systems, robotics, audio processing, and computer vision applications and see them perform in real time.
With Real-Time Windows Target™, you can run Simulink models in real time on Microsoft® Windows® PCs and connect to a range of I/O boards to create and control a real-time system. To run your model in real time on a target computer, you can use xPC Target™ for HIL simulation, rapid control prototyping, and other real-time testing applications. See xPC Target Turnkey for available target computer hardware.
Simulink models can be configured and made ready for code generation. By using Simulink with add-on code generation products, you can generate C and C++, HDL, or PLC code directly from your model.