MATLAB Answers

How to include a slider GUI in a Simuink Model?

2 views (last 30 days)
Jithendra Dharmavaram
Jithendra Dharmavaram on 17 Nov 2014
Answered: Ryan G on 17 Nov 2014
I'm new to GUI concept. Can anybody guide me how to add a slider GUI in an existing simulink model and how to get a value (eg: 0 or 0.5 or 1) when slider is moved during simulation.
Thanks and Regards, Jithendra D

Answers (1)

Ryan G
Ryan G on 17 Nov 2014
You could potentially build a slider as part of a mask.
Otherwise there are more complex ways of implementing GUI's with MATLAB functions.

Community Treasure Hunt

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

Start Hunting!

Translated by