Matlab mobile doesn't execute startup.m at startup

1 次查看(过去 30 天)
Matlab mobile doesn't execute startup.m at startup. I have a 'startup.m" file in '/MATLAB Drive', but it doesn't get executed at startup, despite the claims in 'matlabrc'. I have to type 'startup" every time I use Matlab Mobile

回答(1 个)

Walter Roberson
Walter Roberson 2024-2-24
The model of MATLAB Online is as-if it were continually running.
... Sort of.
The reality is that when you leave a MATLAB Online session, the session lingers for approximately 3 hours waiting for you to resume it. If you get back to it within the roughly 3 hours, then it continues on, workspace still exists; if you wait longer then the session is gone.
  1 个评论
Paul McKenzie
Paul McKenzie 2024-2-26
That "answers" what MATLAB Mobile/Online DOES, but doesn't answer what it DOESN'T. If MATLAB knows the "session is gone", then starting MATLAB means it's a new session and executing startup.m at startup would seem to be the appropriate (promised?) thing to do, unless there's some downside I haven't considered.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by