How can I execute parametric simulations with Simscape components in "Rapid Accelerator" mode?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 14 de Jul. de 2023
Respondida: MathWorks Support Team
el 20 de Jul. de 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?
Respuesta aceptada
MathWorks Support Team
el 14 de Jul. de 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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Run-Time Parameters en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!