Select path and filename

版本 1.0.0.0 (3.4 KB) 作者: Miroslav Balda
The function enables browsing subdirectory tree, and puts selected path and filename into variables
2.4K 次下载
更新时间 2007/3/8

查看许可证

The function is a replacement of the function getpf.m (FEX 13768), which suffered by an instability when changing releases of Matlab. The function selectpf.m should work well for both Matlab R2006a and R2006b.

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.
Yet 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. As soon as a file name is accepted, the function returns path and name of the selected file.

The function needs another function from FEX, inp.m, #9033

引用格式

Miroslav Balda (2024). Select path and filename (https://www.mathworks.com/matlabcentral/fileexchange/14196-select-path-and-filename), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2006b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Search Path 的更多信息
致谢

参考作品: Select path and filename - getpf.m

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0