use default settings for setpref
3 次查看(过去 30 天)
显示 更早的评论
I would like to send an email from MATLAB.
To do so, I have to configure some prefs with setpref, e.g.
setpref('Internet', 'SMTP_Server', ...)
How to do so once, such that MATLAB remembers the settings after I restart the application?
One possible solution I can think of is to write them down in my startup.m.
Is there any other possibilities, as I would like to not expose my email password, even if I think that my startup.m keeps private.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!