to open new window in gui matlab

9 views (last 30 days)
Tugba Ergin
Tugba Ergin on 24 Jan 2019
Commented: Rik on 28 Nov 2020
to open new window in gui matlab when I click push button??
  1 Comment
Rik
Rik on 24 Jan 2019
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
Ghaith Hatamleh
Ghaith Hatamleh on 28 Nov 2020
how can you edit this figure so that everytime its opended, what you added is still there.
Rik
Rik on 28 Nov 2020
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 Migrate GUIDE Apps in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!