Echtzeitbereitstellung und Codegenerierung
Der Prozess zur Echtzeitbereitstellung und Codegenerierung zeigt Ihnen, wie Sie Simulink® Real-Time™ verwenden, um eine Echtzeitanwendung herunterzuladen und auszuführen, die Sie aus Ihrem Simscape™-Modell generieren. Mithilfe von Simulink Real-Time können Sie auch überprüfen, ob es zu Simulationsüberschreitungen kommt, und Laufzeitparameter für Ihre regelstreckenbasierte Anwendung auf einem Echtzeitziel ändern.
Funktionen
slrtExplorer | Open Simulink Real-Time explorer and interact with target computers and real-time applications |
simscape.findNonlinearBlocks | Check model for blocks with nonlinear equations |
Themen
- Real-Time Code Generation and Deployment Process
Follow the hardware-in-the-loop (HIL) simulation workflow to deploy a Simscape model to your real-time target machine using Simulink Coder™ and Simulink Real-Time.
- Grundlagen der Hardware-in-the-Loop-Simulation
Verwenden Sie Hardware-in-the-Loop-Simulation (HIL), um zu überprüfen, wie Ihr Regelungssystem in Echtzeit auf realistische virtuelle Stimuli reagiert.
- Simulink Real-Time Code Generation
Follow the recommendations for minimum hardware and software specifications to deploy your Simscape model for hardware-in-the-loop (HIL) simulation using Simulink Real-Time.
- Software and Hardware Configuration
Before you simulate your Simscape model on your target hardware using Simulink Real-Time, follow the recommendations to configure your development and target computers for code generation and real-time simulation.
- Signal and Parameter Visualization and Control
Monitor and control signals and parameters when you simulate your Simscape model on a real-time target hardware using Simulink Real-Time.
- Requirements for Using Alternative Platforms
Follow the recommendations for minimum hardware, software, and compiler specifications to deploy your Simscape model for hardware-in-the-loop (HIL) simulation using a custom standalone application.
- Embedded and Generic Real-Time Resources
Simulink Coder and Embedded Coder® use system target files (STFs) to generate code for interfacing with specific real-time operating systems.