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

8 visualizaciones (últimos 30 días)
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

Respuestas (1)

Keerthana Chiruvolu
Keerthana Chiruvolu el 1 de Mzo. de 2021
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

Categorías

Más información sobre Applications 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!

Translated by