Generate, Download, and Execute Code
To perform hardware-in-the-loop simulation on target hardware, use金宝app®Real-Time™to:
Generate and compile code on the development computer.
实时应用程序下载到目标computer.
Execute the real-time application remotely from the development computer.
Requirements for Building and Executing金宝appReal-TimeApplications
Before building and executing your real-time application:
Prepare and configure your model for real-time simulation. For information, seeReal-Time Model Preparation WorkflowandReal-Time Simulation Workflow.
Set up and configure the software, I/O interfaces, and connectivity for your development computer, target computer, and I/O board. For information, seeGet Started with Simulink Real-Time(Simulink Real-Time).
Create, Build, Download, and Execute a Real-Time Application
For an example that shows you how to generate code for the model on your development computer, transfer the code to your real-time computer, and execute the code on your real-time computer, seeCreate and Run Real-Time Application from Simulink Model(Simulink Real-Time).
See Also
slrtExplorer
(Simulink Real-Time)
Related Examples
- Set Up and Configure Simulink Real-Time(Simulink Real-Time)
- Create and Run Real-Time Application from Simulink Model(Simulink Real-Time)