Extract file format

Extract file format, directory name.
1.3K Downloads
Updated 28 Mar 2005

No License

Extracts dirrectory name , root of the filename and its format. In case the input is a directory it returns the parent directory name.
In case it is just a filename, it returns the extension and filename without the extension

Cite As

Vaibhav Srivastava (2026). Extract file format (https://www.mathworks.com/matlabcentral/fileexchange/6963-extract-file-format), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12.1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on File Operations in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0

Additions to its functionality