How I can I add a drop down menu to simulink?

Hi Everyone! I haven't been able to find my answer by searching only. Maybe my keywords are wrong! So, here it goes: I need to have a drop down menu in my simulink model so that I can choose the state of the model. For example I want to manually choose state 3. and then, based on that go calculate a few parameters automatically. What is the best way of doing this? Thanks for your suggestions.

Categories

Products

Asked:

on 25 Jan 2016

Answered:

on 27 Jan 2016

Community Treasure Hunt

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

Start Hunting!