GUI -pop menu changing the names of the cases

Hi everyone,
I am doing a GUI, however I faced a problem and I can't find one solution to it. I want to do a pop menu, which is easy to do on the guide, but I want to change the name of the cases accordingly to others chech-boxs.
Example:
I have a check box with the option Signal 1, Signal 2 and Signal 3. And on the pop-menu on the gui the cases which should appear will depend if I select the check box or not. For example if I select only the Signal 1 and 2 from the check box on the pop-menu should appear only the option of "Signal 1" on the case 1 and "Signal 2" on the case 2 of the pop-menu. The cases of the pop-menu should be dinamic, but the only way I know to do it is predefine it on the guide.
Is it possible to change the name of the cases when you run the code?

2 Comments

It was my mistake, but I delete the other question.
I solve the problem with this set(handles.Signal1,'String',{'Singal 1'});
But how can I add another "String" or just delete this one created (the Signal 1?

Answers (0)

This question is closed.

Products

Asked:

on 22 Feb 2013

Community Treasure Hunt

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

Start Hunting!