Extract file format

Extract file format, directory name.

You are now following this Submission

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 .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Additions to its functionality