I believe uigetfile is what you need:
How can I open windows explorer and save a file path to a text box in Matlab?
题
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.
解决方案
不隶属于 StackOverflow