Code in GUI doesn't continue after running .m file
Mostra commenti meno recenti
Hi everyone! I'm pretty new to Matlab and have a problem with my GUI using app desiner. I run a .m file after pushing a button,which works fine, but the code in appdesigner doesn't seem to continue afterwards (display table from generated .mat file). When commenting out "run myfile.m" the rest of the code works fine. Any ideas what I did wrong?
6 Commenti
Shishir Dwivedi
il 27 Dic 2019
Hi Lisa,
What operation does myfile.m file perform, can you post sample code?
Shishir.
Lisa Restel
il 27 Dic 2019
Lucademicus
il 27 Dic 2019
What is the reason that the code is placed in the .m file and not within the GUI methods?
Lisa Restel
il 27 Dic 2019
Lisa Restel
il 27 Dic 2019
Lisa Restel
il 28 Dic 2019
Risposte (1)
Shubh Sahu
il 30 Dic 2019
0 voti
Hello,
I think you need to add 'table' in your GUI (assuming you haven't added 'table' or haven't used 'uitable'). Write your myFile.m under callback of push button and pass that result to callback of 'table' show that desired table can be visible in GUI.
Please refer these to links :
Categorie
Scopri di più su Historical Contests in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!