How can I execute parametric simulations with Simscape components in "Rapid Accelerator" mode?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 14 Jul. 2023
Beantwortet: MathWorks Support Team
am 20 Jul. 2023
I have a Simulink model that consists of a mass, spring, and damper. I'm interested in running parametric simulations for different masses using the 'Rapid Accelerator' mode. Is it possible to perform such simulations? If yes, could you please provide guidance on how to proceed?
Akzeptierte Antwort
MathWorks Support Team
am 14 Jul. 2023
To perform parametric simulations with Simscape components in "Rapid Accelerator" mode, you can utilize the "Run-time" parameter configuration. Follow the steps below to change the parameter configuration:
1. In the MATLAB R2021b window, navigate to HOME > Preferences > Simscape. Then, click on the "Show run-time parameters" option.
2. Open your Simulink model.
3. Double-click on the "Mass" block and set the "mass" to "Run-time"
4. Execute your code, updating each simulation's "mass" value.
For more detailed information on Simscape "Run-time" parameters, please refer to the documentation page linked below:
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Run-Time Parameters finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!