Combine Matlab-Guide figures / Link a gui to another
Show older comments
Hello Matlab specialists,
I have a (very komplex) GUI, based on Matlab guide. Nowadays I have a simple import function in my "Gui_1", that loads csv files. But in the future I'd like to support even more data types (even binaries)... so I want to replace the import function with a dedicated Converter. This converter should also be another GUI. Something like this:

Here is my question:
Is it possible to link/call the "Converter Gui" from within the "Processing Gui"?
Some additional information:
>> ver
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.7.0.1190202 (R2019b)
MATLAB License Number: #########
Operating System: Microsoft Windows 10 Pro Version 10.0 (Build 19042)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.7 (R2019b)
GUI Layout Toolbox Version 2.3.4 (R2018b)
MATLAB Compiler Version 7.1 (R2019b)
>>
3 Comments
Walter Roberson
on 2 Jun 2021
See the discussion at https://www.mathworks.com/matlabcentral/answers/842790-gui-with-guide-into-a-script-file#comment_1558520 and the Question that is linked to there.
Rik
on 2 Jun 2021
I would strongly discourage splitting up your GUI in a fig and an m file. That tends to be difficult to adapt. Using only an m file has another advantage: versioning software like git can understand the changes you make.
For general advice and examples for how to create/edit a GUI (and avoid using GUIDE), have look at this thread.
Marten Amschler
on 8 Jun 2021
Answers (0)
Categories
Find more on Data Type Conversion 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!