Get application data directory
No License
GETAPPLICATIONDATADIR(APPICATIONNAME, DOCREATE, LOCAL) returns the application's data directory using the registry on windows systems or using Java on non windows systems as a string and creates the directory if missing and requested, i.e. DOCREATE = true.
COLLABORATION:
As I am not familiar with non windows operating systems please give me information about incompatibilities - I rely on JAVA in this function
Cite As
Sven Probst (2026). Get application data directory (https://www.mathworks.com/matlabcentral/fileexchange/15886-get-application-data-directory), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: recognize barcode
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
