Implement "browse button" for interface with Matlab? (gui)
5 次查看(过去 30 天)
显示 更早的评论
I want to make an interface of my project that i can browse the file from my interface with "browse button". Then when i click that button, the name of file i choose will appear in the "Edit" style, and also in the the file will be read and be processed by the system.
what i have to do? Thanks before :)
0 个评论
回答(3 个)
Image Analyst
2012-4-25
You might try uipickfiles: http://blogs.mathworks.com/pick/2010/02/19/file-and-folder-selection-gui/ It was a " Pick of the Week."
Matt Kindig
2012-4-25
For the browse feature:
doc uigetfile
Then set the 'String' property of the edit uicontrol to the filename returned from this command.
[filename, pathname] = uigetfile();
set( yourEditHandle, 'String', filename);
0 个评论
Ka Mirul
2017-11-20
I found a video that help me, it is about creating GUI to browse an image and display the image and its name. It should help you : https://youtu.be/7EmFShs5y9I
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!