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

조회 수: 7 (최근 30일)
Carsten Allefeld
Carsten Allefeld 2023년 9월 30일
댓글: the cyclist 2023년 10월 1일
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
Carsten Allefeld
Carsten Allefeld 2023년 10월 1일
Thanks! Unfortunately it's just guessing...
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