GUI closing when pushing button to call m file

1 view (last 30 days)
Hi people! I'm having a problem with a gui that i'm designing. I call a m file with a push button but at the moment of pressing it closes the gui, i want to keep the gui open because once the m file that i'm calling through the button i want to show data from the m file but on the gui. Does anyone know how to keep my gui open once the button is pushed?

Accepted Answer

Walter Roberson
Walter Roberson on 28 May 2017
Get rid of the "clear all" or "close all" call that you have in your code.

More Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!