Get user home directory

Version 1.0.0.0 (446 Bytes) by Sven Probst
get the user's home directory platform independent
2.3K Downloads
Updated 10 Aug 2007

No License

GETUSERDIR returns the user home directory using the registry on windows systems and using Java on non windows systems as a string

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 user home directory (https://www.mathworks.com/matlabcentral/fileexchange/15885-get-user-home-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

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