The function puts names of directory and file into variables which may be used later for handling with the selected file. It is beneficial in cases when searching files for processing by browsing a directory tree.
The function starts in a chosen point of a tree and displays contents of the subdirectory.
A user may select an item from the list by one of two ways:
- entering one of displayed names, or
- paste and copy a name to prompt.
Another way to reach the required name exists - answer by pushing any key to the prompt until the name you need is displayed. Then, accept it by pushing ENTER.
After the file name is accepted, the function will return the path and name of the selected file.
Requirements:
· MATLAB 7.3 or higher
· MATLAB's inp.m function