Einzelne Simulationen ausführen
Durch die Simulation eines Modells erhalten Sie die Ergebnisse der Algorithmen, die Sie durch den Modellierungsprozess erstellen. Sie können mit den Simulationen interagieren, indem Sie das Tempo der Simulation anpassen, die Modellparameter einstellen, die Simulation anhalten oder pausieren und die Portwerte anzeigen, um die Modellierung Ihres Modells zu bewerten. Simulationen helfen Ihnen, die Entwicklung und das Verhalten Ihres Modells zu verstehen.
Simulieren Sie ein Modell interaktiv, indem Sie auf die Schaltfläche Run in der Simulink-Symbolleiste klicken, oder programmatisch mithilfe von Funktionen wie sim
und set_param
im MATLAB-Befehlsfenster oder einem MATLAB-Skript.
Informationen zur Durchführung von parallelen und Batch-Simulationen finden Sie unter Mehrere Simulationen ausführen.
Modelleinstellungen
Tools
Simulationstempo-Optionen | Slow simulation to a specified ratio of simulation time to wall clock time |
Funktionen
Objekte
Themen
Grundlegende Simulationen ausführen
- Simulation Phases in Dynamic Systems
Discover how the Simulink software simulates a dynamic system. - Choosing a Simulation Mode
Based on your simulation needs, choose to run your simulation in normal, accelerator, or rapid accelerator mode. - Simulate a Model Interactively
Start, suspend, and stop a simulation interactively. - Run Simulations Programmatically
Run simulations programmatically by writing scripts or by issuing commands in the MATLAB Command Window. - Use Model Operating Point for Faster Simulation Workflow
Reduce the time required to run a set of simulations by simulating from an initial operating point.
Simulationen analysieren
- How Stepping Through Simulation Works
Learn how simulation snapshots work. - Debug Simulation Using Signal Breakpoints
Set breakpoints to pause simulation then step through simulation block by block. - View Signal Values Using Port Value Labels
View signal values in the block diagram during simulation to understand, analyze, and debug your model.
Iterative Simulationen mit Fast Restart durchführen
- How Fast Restart Improves Iterative Simulations
Learn when to use fast restart for speeding up simulation. - Get Started with Fast Restart
Configures your model to prepare for fast restart simulation.