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

Antworten (0)

Diese Frage ist geschlossen.

Gefragt:

am 21 Mär. 2018

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by