Azzera filtri
Azzera filtri

Matlab mobile doesn't execute startup.m at startup

1 visualizzazione (ultimi 30 giorni)
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

Risposte (1)

Walter Roberson
Walter Roberson il 24 Feb 2024
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 Commento
Paul McKenzie
Paul McKenzie il 26 Feb 2024
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.

Accedi per commentare.

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by