필터 지우기
필터 지우기

How to set run-time parameter for all simscape(/multibody) blocks in a file?

조회 수: 3 (최근 30일)
krishna teja
krishna teja 2021년 2월 21일
답변: Keerthana Chiruvolu 2021년 3월 1일
I just realised, by default all simscape (/multibody) blocks' parameters are compile time meaning any changes to any of the blocks' parameters need recompilation of whole model. My model compilation takes about a minute. This hinders leveraging fast-restart and acclerator modes for parameter sweep and optimisation studies. Changing to run-time for every block is laborious. I was wondering if somebody has workaround to set all simscape blocks' parameters in a file to run-time (and change back to compile time)
thanks in advance

답변 (1개)

Keerthana Chiruvolu
Keerthana Chiruvolu 2021년 3월 1일
Hi Krishna Teja,
Simscape supports run-time configurability for some, but not all, dialog box parameter of a block.
Only those parameters next to which an enabled run-time setting appears are run-time configurable. The remaining ones are strictly compile-time configurable.
Tip: To view the Run-time option, set your Simscape preferences to show runtime settings. For more information, see Show Simscape Run-Time Parameter Settings.
For more information, refer the link

카테고리

Help CenterFile Exchange에서 Applications에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by