Simscape Block Parameter not Tunable
2 views (last 30 days)
Matthew Mishrikey on 6 Jan 2022
I wish to control a Simscape block parameter using the dashboard slider switch.
I select Temperature Source, but the slider switch does not recognize it as having a tunable parameter.
The only block I can link the switch to is the scope!
Are the dashboard elements not compatible with simscape ones?
Pratyush Roy on 11 Jan 2022
Simscape run-time parameters are run-to-run tunable. Therefore, for Dashboard blocks linked to Simscape blocks, changing the dials during simulation does not affect the simulation results.
To use Dashboard blocks for run-to-run tuning of Simscape block parameters, we can designate the parameter as Run-time configurable, associate it with a workspace variable, and link the Dashboard block to the workspace variable. The link here might be helpful for more information.
Hope this helps!