Get application data directory

get the application's data directory platform independent

You are now following this Submission

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

Acknowledgements

Inspired: recognize barcode

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0