how to use Slider Switch in simulink model ?

2 Ansichten (letzte 30 Tage)
jingwie sun
jingwie sun am 22 Jun. 2017
Kommentiert: Swarooph am 23 Jun. 2017
How to use Slider Switch in simulink model ? Help document write a little bit.

Akzeptierte Antwort

Swarooph
Swarooph am 22 Jun. 2017
This block enables you to control block parameters in the model. I've made a GIF below that shows how to work with this block. (Right click on image and open in a new window or tab to enlarge it):
Also take a look at the video at the link below for a general overview on Dashboard blocks:
In case you were not looking at the correct documentation link, you can find that as well below:
  2 Kommentare
jingwie sun
jingwie sun am 23 Jun. 2017
Why CANNOT link with constant block in my model? There are any limitation during use Dasboard
Swarooph
Swarooph am 23 Jun. 2017
Looks like you need to turn off the 'Inline Parameters' option from the configuration parameters. You can issue the following command at the command prompt. Note that mdlName is just a place holder and should be the actual name of the model.
set_param(mdlName,'DefaultParameterBehavior','Tunable')
After doing this, try what you have posted above.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Event Functions finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by