Image file selection problem (GUI)

Hi, my question is ... How MATLAB remember the last opened folder?
so that I no need to find the last opened folder again when every time the GUI pushbutton is pressed.
my current code :
[file path] = uigetfile('*.jpg','Select any image');
chosenfile = [path file];
a = imread(chosenfile);

답변 (0개)

이 질문은 마감되었습니다.

태그

질문:

2018년 3월 21일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by