to open new window in gui matlab

to open new window in gui matlab when I click push button??

1 Comment

Have a read here. It will greatly improve your chances of getting an answer.
Show what you have found out trying to answer this question already.
Also, a GUI in Matlab is nothing special. It is just a bunch of objects in a figure that have functions that can be triggered with specific interactions (like clicking a button).

Sign in to comment.

 Accepted Answer

Sarah Crimi
Sarah Crimi on 24 Jan 2019
Under the callback to the button in your GUI code, you just use the following command:
figure;

2 Comments

how can you edit this figure so that everytime its opended, what you added is still there.
You probably can't do that easily with GUIDE. What you can do is store the data in a mat file or in a preference to make input persistent.

Sign in to comment.

More Answers (0)

Categories

Find more on Software Development Tools in Help Center and File Exchange

Tags

Asked:

on 24 Jan 2019

Commented:

Rik
on 28 Nov 2020

Community Treasure Hunt

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

Start Hunting!