I'm new to MATLAB GUI and want to ask for help
3 views (last 30 days)
Show older comments
So I was looking for some examples of GUI and then I found a file in this community. I was going to check if how does the GUI look and check for the codes that were used. However, when I tried to run the .m file, it shows error which is attached in this post. I hope you help me as I am new to doing GUI in MATLAB.
3 Comments
Accepted Answer
dpb
on 17 Oct 2023
Edited: dpb
on 17 Oct 2023
The problem running the function is that it expects there to be an already-existing .fig file that you didn't download with the m file. As the help message shows, it's the same root filename but with a .fig extension.
However, as the help info
help imageprocessinggui
indicates, it was built with GUIDE which has been deprecated and should not be used for new GUI development; <use App Designer> instead.
That said, it might be an interesting exercise to see about <converting the above from GUID to AppDesigner>
2 Comments
dpb
on 17 Oct 2023
Good luck. You'll still need the associated figure in the missing .fig file, however; that's where all the gui stuff is in a GUIDE app...
More Answers (1)
Voss
on 17 Oct 2023
m-files created with GUIDE require an associated .fig file of the same name. You should go back to where you found the m-file and download the associated .fig file as well.
0 Comments
See Also
Categories
Find more on Migrate GUIDE Apps 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!