crap: a pedestrian absolute folder/file path creator

Version 1.0.0.0 (8.57 KB) by us
crap creates absolute paths to folders and/or files
2.2K Downloads
Updated 30 Jan 2008

View License

CRAP creates clean absolute paths (including UNCs) for existing
- absolute paths to folders and/or files
- relative paths to folders and/or files
which may include any valid combination of './' and/or '../' syntax.

this shall help to overcome some of the notorious problems with ML’s handling of relative folder/file names.

see
>> help crap
and the accompanying published M-file for information and a few self-explanatory examples.

Cite As

us (2024). crap: a pedestrian absolute folder/file path creator (https://www.mathworks.com/matlabcentral/fileexchange/16538-crap-a-pedestrian-absolute-folder-file-path-creator), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Search Path in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

removed erroneous java (1.6.0) behavior for root folders on winOS' when entered without the drive/volume name; added an option to suppress run-time messages; version tag 29-Jan-2008 19:41:46