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.

Était-ce utile?

La solution

I believe uigetfile is what you need:

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top