Configurazione delle condizioni di simulazione
Dopo aver costruito un modello in Simulink®, è possibile configurare la simulazione per eseguirla in modo rapido e accurato senza apportare modifiche strutturali al modello.
Il primo passo per configurare la simulazione è selezionare un risolutore. Per impostazione predefinita, Simulink seleziona automaticamente un risolutore a passo variabile. È possibile sincronizzare con precisione le opzioni del risolutore o selezionarne uno diverso nel riquadro Risolutore della finestra di dialogo Parametri di configurazione.
A volte una simulazione può rallentare o bloccarsi. Utilizzare il Solver Profiler per identificare i colli di bottiglia nella simulazione e ottenere consigli per migliorare le prestazioni del risolutore.
Per seguire un corso interattivo autogestito sull'ottimizzazione delle prestazioni di simulazione, vedere Optimize Simulation Performance (Ottimizzare le prestazioni di simulazione).
Funzioni
Strumenti
Impostazioni modello
Argomenti
Risolutori in Simulink
- Choose a Solver
Choose a solver based on the dynamics of the model.
- Compare Solvers
A dynamic system is simulated by computing its states at successive time steps over a specified time span, using information provided by the model. - Zero-Crossing Detection
Learn how zero-crossing events affect simulation. - Choose Jacobian Method for Implicit Solvers
Implicit solvers, such asode15s, compute the solver Jacobian as a step in the solver algorithm. - Use Local Solvers in Referenced Models
Learn how local solvers work and how to configure a local solver. - Zero-Crossing Detection with Fixed-Step Simulation
Learn how zero-crossing detection affects fixed-step simulation.
Informazioni sullo stato
- Save Block States and Simulation Operating Points
Learn how you can use state information logged from simulation and decide how to log states and operating points. - Speed Up Simulation Workflows by Using Model Operating Points
Run sets of simulations faster by simulating from initial operating points.
Solver Profiler
- Examine Model Dynamics Using Solver Profiler
Identify factors affecting model simulation using the Solver Profiler. - Solver Resets
The Solver Profiler logs events that cause the solver to reset its parameters because solver resets do incur computational cost. - Zero-Crossing Events
Detect zero-crossing events using Solver Profiler. - Solver Exception Events
This example simulates two identical nonlinear spring-damping systems. - Analyze Jacobian Updates Using Solver Profiler
During simulation, implicit solvers use the Jacobian to compute the continuous state values at each time step.
Loop algebrici
- Algebraic Loop Concepts
Learn how algebraic loops are created during simulation. - Identify Algebraic Loops in Your Model
If Simulink reports an algebraic loop in your model, the algebraic loop solver may be able to solve the loop. - Remove Algebraic Loops
Learn how to break undesired algebraic loops in a model. - Modeling Considerations with Algebraic Loops
Learn modeling techniques to avoid unnecessary algebraic loops.




