ffpath - find file path

버전 1.1.0.0 (1.64 KB) 작성자: Miroslav Balda
The function finds full directory name from matlabpath or system path for the file name
다운로드 수: 2.3K
업데이트 날짜: 2009/1/2

라이선스 보기

The function browses very fast current directory and directories known in 'matlabpath' and the system variable 'path'. It searches for the file, name of which is in the input argument 'fname'. If a directory is found, the output argument pth is filled by a path to the file name from 'fname', otherwise pth is set empty. File names should have their extensions, but MATLAB m-files.

Arguments:
fname = file name
pth = path to the fname

Examples:
pth = ffpath('gswin32c.exe')
% c:\Program Files\gs\gs8.60\bin\
pth = ffpath('hgrc')
% C:\PROGRA~1\MATLAB\R2006b\toolbox\local

인용 양식

Miroslav Balda (2024). ffpath - find file path (https://www.mathworks.com/matlabcentral/fileexchange/22501-ffpath-find-file-path), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2006b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Filename Construction에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

A test on presence of a file name as intut argument complemented.

1.0.0.0