Clear Filters
Clear Filters

How do I get user information?

2 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 Cell Arrays 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!