How to open a file browser in a MATLAB script?

조회 수: 51 (최근 30일)
Ranjan Sonalkar
Ranjan Sonalkar 2016년 10월 12일
댓글: Ranjan Sonalkar 2016년 10월 13일
When I run a MATLAB script, I would like to use a function in the script that would open a Browse window to list all files in a specified folder. Then I would like to click on one of the files in the list (or browse to a different folder), similar to how I can do it in Word to open a file to select it, so that I can read its contents in the script.
Is there a way to do that in a MATLAB script?

채택된 답변

Sean de Wolski
Sean de Wolski 2016년 10월 12일
doc uigetfile
doc fullfile

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by