Parametri del tempo di esecuzione
I parametri del tempo di esecuzione di Simscape™ sono codificati come variabili con valori che possono essere modificati prima o tra le simulazioni, senza dover ricompilare il modello. Poiché non richiedono la ricompilazione del modello, gli sweep di parametri che utilizzano i parametri del tempo di esecuzione, contribuiscono a migliorare l'efficienza durante lo sviluppo del modello e la simulazione in tempo reale.
Argomenti
- About Simscape Run-Time Parameters
Simscape run-time parameters allow you to change parameter values between simulations and in generated code without recompiling your model.
- How Simscape Run-Time Parameters and Simulink Tunable Parameters Differ
Simscape run-time parameters and Simulink® tunable parameters have different default modes, configuration methods, and default behaviors in generated code.
- Manage Simscape Run-Time Parameters
Make a Simscape parameter run-time configurable and specify the default run-time parameter behavior for code generation.
- Specify and Change a Simscape Run-Time Parameter
Make a Simscape parameter run-time configurable and change the parameter value between iterative simulation runs without recompiling your model.
- Improve Parameter-Sweeping Efficiency Using Simscape Run-Time Parameters
Change Simscape run-time parameters values without recompiling your model during iterative simulation.
- Decrease Computational Cost by Inlining Simscape Run-Time Parameters
Avoid CPU overloads during real-time simulation by inlining Simscape run-time parameters.
- Troubleshoot Simscape Run-Time Parameter Issues
Ensure that Simscape run-time parameter settings are visible and that changes that you make to parameters take effect.