use default settings for setpref

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개)

카테고리

도움말 센터File Exchange에서 Desktop에 대해 자세히 알아보기

제품

릴리스

R2017b

질문:

2019년 4월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by