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 个)

此问题已关闭。

标签

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by