Simscape Block Parameter not Tunable
6 views (last 30 days)
Show older comments
Matthew Mishrikey on 6 Jan 2022
Commented: Matthew Mishrikey on 13 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!
More Answers (0)
Find more on Dashboard in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!