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.
>> help crap
and the accompanying published M-file for information and a few self-explanatory examples.
us (2023). 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
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
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