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

Risposte (0)

Questa domanda è chiusa.

Richiesto:

il 21 Mar 2018

Chiuso:

il 20 Ago 2021

Community Treasure Hunt

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

Start Hunting!

Translated by