I'm new to MATLAB GUI and want to ask for help
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
dpb
2023-10-17
编辑:dpb
2023-10-17
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 个评论
dpb
2023-10-17
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...
更多回答(1 个)
Voss
2023-10-17
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!