How do I get user information?

3 views (last 30 days)
Eric Pulling
Eric Pulling on 14 Sep 2017
Answered: Fangjun Jiang on 14 Sep 2017
Is there a way in Matlab to access user information?

Answers (1)

Fangjun Jiang
Fangjun Jiang on 14 Sep 2017
You mean this?
getenv('UserName')
getenv('UserProfile')
getenv('UserDomain')

Categories

Find more on Get Started with MATLAB 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!