I want to load a folder in appdesigner by using "button" and to load the path of the folder in the "EditField". How?
8 views (last 30 days)
I am trying to upload the folder using "Button" in appdesigner callback function and I want to store the folder directory in "EditField". May I know how to get this?
I am trying the code like:
[folder,app.selectedPath] = uigetdir();
app.EditField_2.Value = "User Selection cancel";
app.EditField_2.Value = fullfile(folder);
app.EditField_2.Value = fullfile(app.selectedPath);