Question

I need MATLAB to be able to open up Windows explorer so that the user can select a file and upon pressing 'Open' in explorer, Matlab will take the filepath of the selected file and display it in a text box.

I've been using the winopen command and can get explorer open, but cannot seem to find a way to proceed with the rest of my functionality.

Any assistance would be much appreciated.

Was it helpful?

Solution

I believe uigetfile is what you need:

http://www.mathworks.com/help/matlab/ref/uigetfile.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top