MATLAB Answers


how to use Slider Switch in simulink model ?

Asked by jingwie sun on 22 Jun 2017
Latest activity Commented on by Swarooph
on 23 Jun 2017
How to use Slider Switch in simulink model ? Help document write a little bit.


Sign in to comment.

1 Answer

Answer by Swarooph
on 22 Jun 2017
 Accepted Answer

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:


Why CANNOT link with constant block in my model? There are any limitation during use Dasboard
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.
After doing this, try what you have posted above.

Sign in to comment.