crap: a pedestrian absolute folder/file path creator
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.
Zitieren als
us (2025). 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. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
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 |