MATLAB: Drop-down menu in simulink

MATLABsimulink

Hi every one,
After long search, I was not able to find a proper answer for my request. Instead of using a simple constant block, I would like to insert a BLOCK in the simulink as an input data( constant input). This block should be as a DROP-DOWN menu. For example: when I click on it, it will give me three options for the temprature and I can choose one of them as an input to my system.
please support me if any one has and idea or solution.
Thank you

Best Answer

Hi,
One idea of creating drop-down option for input constant is to have this block under a subsystem that have to be converted into a mask. Then using Mask edit options: Popup control GUI button and Popup options, intialization options...
if you'd like to create not a drop-down but just a user entry box option, then it is much simpler.
Good luck.