Select path and filename - getpf.m

It enables to put path and filename into variables
1,9K Downloads
Aktualisiert 27. Feb 2007

Lizenz anzeigen

The function is intended for putting names of directory and file into variables which may be used later for reading or writing files. It is beneficial in cases when searching files for processing by browsing a directory tree.

The function starts in a required 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

Zitieren als

Miroslav Balda (2025). Select path and filename - getpf.m (https://de.mathworks.com/matlabcentral/fileexchange/13768-select-path-and-filename-getpf-m), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2006b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Search Path finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert: Select path and filename

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0

Code improvement for suppressing occasional instability.