Matlab mobile doesn't execute startup.m at startup

14 vues (au cours des 30 derniers jours)
Paul McKenzie
Paul McKenzie le 24 Fév 2024
Commenté : Warwick le 24 Nov 2024
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
  4 commentaires
Walter Roberson
Walter Roberson le 21 Nov 2024
MATLAB Online is not being neglected; it improves every few months (irregularly) and improves at the same time as each MATLAB update (1 to 3 days after the corresponding MATLAB release.)
Warwick
Warwick le 24 Nov 2024
Thank you Walter. I have noticed that the core functionality of Matlab Online does match the current standalone desktop releases, and that is one of the reasons I started using Online for my personal projects - the idea of being able to spend a few minutes here and there, whenever life permits, writing code for my own things seemed excellent. Even better was the fact that I could do so without having to have Matlab installed locally on whatever PC I happened to be using, and not needing to worry about synchronising files, etc. I am trying to get into home automation, and writing my own routines for processing sensor data and then using the results to trigger actions.
My comment was mainly to vent my frustrations at a couple of the usability problems that have been an issue in Online for some time. They are obviously minor bugs - startup.m has been around in Matlab forever, and the Set Path functionality has too - and can definitely be fixed.
I'll just keep carrying my personal laptop around for the moment.

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 24 Fév 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 commentaire
Paul McKenzie
Paul McKenzie le 26 Fév 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by