If you need to write data to a file for later use, you could store everything in the preferences. However, doing so would require you to load your data to a variable and use getpref/setpref. Especially on Octave this can be fairly slow.
This function will return the path to a folder for which Matlab/Octave has write access. This path will be dependent on the system only, not on the version of Matlab/Octave.
Licence: CC by-nc-sa 4.0
Cite As
Rik (2024). GetWritableFolder (https://github.com/thrynae/GetWritableFolder/releases/tag/v1.0.0), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 | See release notes for this release on GitHub: https://github.com/thrynae/GetWritableFolder/releases/tag/v1.0.0 |
||
0.0.1 |