What do the columns in the output of "matlab -timing" mean?

4 vues (au cours des 30 derniers jours)
Carsten Allefeld
Carsten Allefeld le 30 Sep 2023
Commenté : the cyclist le 1 Oct 2023
In an effort to speed up Matlab startup, I started Matlab with the command line option "-timing".
This shows a table with three columns, "total", "item", and "gap" – but I couldn't find any documentation what these three columns stand for?

Réponse acceptée

the cyclist
the cyclist le 30 Sep 2023
The -timing switch is a formerly documented feature, that still exists but is now undocumented. (I learned that fact from this interesting Undocumented Matlab post from @Yair Altman's great blog.) See his comments there.
But, I believe the short version of the meaning of these terms is
  • item -- time spent on this line's item during startup
  • gap -- (unexplained) gap between this line's time and the previous item
  • total -- total of all items (including gap) up to and including this line
  2 commentaires
Carsten Allefeld
Carsten Allefeld le 1 Oct 2023
Thanks! Unfortunately it's just guessing...
the cyclist
the cyclist le 1 Oct 2023
If you really need to know specifically, the last time this was a documented function was in R2009a (again, according to Yair). Although documentation archives are available, they don't go back that far. That page suggests contacting support if you need documentation for older releases, so I guess you could do that.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

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

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by