How do I get user information?

3 次查看(过去 30 天)
Eric Pulling
Eric Pulling 2017-9-14
Is there a way in Matlab to access user information?

回答(1 个)

Fangjun Jiang
Fangjun Jiang 2017-9-14
You mean this?
getenv('UserName')
getenv('UserProfile')
getenv('UserDomain')

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by