Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Multiple gui from single one..?

Asked by Lalit Patil on 5 Feb 2013

I have four GUI with name LASER, CAMERA, SPHERE and CALIBRATION

For each time i have to run saperately..

Now i want to make one single GUI in which there will be four push buttons which will open this four gui's from single window respectively..

So, i want to open a multiple GUI from single one,

so, how to do it..?

0 Comments

Lalit Patil

Products

No products are associated with this question.

1 Answer

Answer by Walter Roberson on 5 Feb 2013
Accepted answer

It is not possible to have GUIs with numeric names. GUIs are MATLAB source, and possibly an associated MATLAB .fig file with the same name as the main source file. MATLAB source files must have names which are consistent with MATLAB identifiers, which are required to start with a letter.

3 Comments

Lalit Patil on 5 Feb 2013

I was just giving an example.

The real names are LASER, CAMERA, SPHERE, CALIBRATION and the fifth one main GUI i have to create is PROJECT

Walter Roberson on 5 Feb 2013
uicontrol('Style', 'push', 'Callback', @(src, event) LASER() );

and be sure to add in a Position parameter.

Lalit Patil on 5 Feb 2013

Thanks a lot, this concept works for all Four GUI's...

Walter Roberson

Contact us