% [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
Citation pour cette source
Ben Oeveren (2024). fileparts_(fnames) (https://www.mathworks.com/matlabcentral/fileexchange/57128-fileparts_-fnames), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Audio and Video Data >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
2.0.0.0 | %Can handle cells and strings as input
|
||
1.0.0.0 |