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!