File Exchange

image thumbnail

fileparts_(fnames)

version 2.0.0.0 (914 Bytes) by Ben Oeveren
Modified function fileparts()

1 Download

Updated 14 May 2016

View Version History

View License

% [PATHSTR,NAME,EXT] = fileparts_(FILE), similar to built-in function.
% However, it is modified for easier use.
%
% - Works platform independent
% - Can handle cells and string input
% - Provides different output, depending on number of outputs.
% output == 0: [file.ext]
% output == 1: [folder/file.ext]
% output == 2: [path, file.ext]
% output == 3: [path, file, ext]
%
% Ben van Oeveren, 14-05-2016, VU Amsterdam

Cite As

Ben Oeveren (2021). fileparts_(fnames) (https://www.mathworks.com/matlabcentral/fileexchange/57128-fileparts_-fnames), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Ben Oeveren

Please rate...

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!