How to use the function uigetfile?
古いコメントを表示
When I use the uigetfile function
And want to select any file that is not in the same folder as my M file code
I'm getting an error
How can I select the file from any folder on my computer?

採用された回答
その他の回答 (1 件)
ANKUR KUMAR
2021 年 7 月 13 日
編集済み: ANKUR KUMAR
2021 年 7 月 13 日
"How can I select the file from any folder on my computer?"
This is pretty simple. You need to provide the full path of the file while calling uigetfile function.
uigetfile('D:\folder\subfolder\subsubfolder\*.xlsx')
カテゴリ
ヘルプ センター および File Exchange で App Building についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!