|
"Mario Ruz" <mario_ruz@hotmail.com> wrote in message
<g8khca$98c$1@fred.mathworks.com>...
> Hello
>
> I have a GUI created. The problem is that I have a lot of
> parameters and I'd like to define them in a NEW figure
> which appears when pushing a button or from a menu created,
> for example called "options". How can I create a new Figure
> with some edit texts and static texts in the same way I
> create the "main" figure with GUIDE?.
>
> I think it is important to have several windows for complex
> GUIs.
>
> Kind regards, Mario.
Make the new gui just like you made the old one, have a
button on the old one call the new gui the same way you
would call it from the command line. Pass data between them
as an extra input to the new gui's call (it'll be in
varargin), or (what I like to do) store it in the guidata of
the root, which is accessible by all objects:
set(0,'userdata',handles) etc.
|