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

Answers (0)

This question is closed.

Asked:

on 21 Mar 2018

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!