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

3 次查看(过去 30 天)
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?

采纳的回答

the cyclist
the cyclist 2023-9-30
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 个评论
the cyclist
the cyclist 2023-10-1
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.

请先登录,再进行评论。

更多回答(0 个)

类别

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

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by