You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
newd(directory_string, long)
If the first arg contains '~' then a "home directory" will be substituted into the string. If 'long' is empty or zero, the replacement will be 'C:/users/yourusername' .
If 'long' is nonzero, the replacement will include the 'Documents' directory, which may be a OneDrive or whatever is identified in the Registry.
The code for the latter case is copied from https://www.mathworks.com/matlabcentral/fileexchange/15885
Cite As
Carl Witthoft (2026). newd (https://www.mathworks.com/matlabcentral/fileexchange/112280-newd), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (1.71 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
