I would like to use Matlab 2014a to open a protected windows explorer folder by signing in as a specified/defined user (this user is different from the windows account user). Is this possible?

1 view (last 30 days)
Do you have any recommendations on how to do this on a Windows machine?

Answers (1)

Soumya Saxena
Soumya Saxena on 15 Sep 2017
You may consider using the following command to open a folder :
[~, userdir] = system('echo %USERPROFILE%')
Please also note that you can use the "winopen" command:
In addition the following file exchange submission called "explore.m" may also be helpful:


Find more on Search Path in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by