Get application data directory

get the application's data directory platform independent
1.6K Downloads
Updated 10 Aug 2007

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 (2024). Get application data directory (https://www.mathworks.com/matlabcentral/fileexchange/15886-get-application-data-directory), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Search Path in Help Center and MATLAB Answers
Acknowledgements

Inspired: recognize barcode

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0