How can I execute parametric simulations with Simscape components in "Rapid Accelerator" mode?
조회 수: 5 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2023년 7월 14일
답변: MathWorks Support Team
2023년 7월 20일
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?
채택된 답변
MathWorks Support Team
2023년 7월 14일
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Run-Time Parameters에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!