This is a static copy of a profile report

Home

get_mod_for_g (1 call, 0.156 sec)
Generated 15-Mar-2007 12:01:41 using real time.
M-function in file c:\mind07\get_mod_for_g.m
[Copy to new window for comparing multiple runs]

Parents (calling functions)

Function NameFunction TypeCalls
prepare_systemM-function1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
3
load c:\mind_data06 G
10.141 s90.0%
6
g_mod(g)=G(g).modality;
11280.016 s10.0%
7
end
11280 s0%
5
for g=1:r
10 s0%
4
r=size(G);r=r(2);
10 s0%
Other lines & overhead  0 s0%
Totals  0.156 s100% 
Children (called functions)
No children
M-Lint results
Line numberMessage
6Array 'g_mod' might be grown using indexing. Consider preallocating for speed.
Coverage results
[ Show coverage for parent directory ]
Total lines in file7
Non-code lines (comments, blank lines)2
Code lines (lines that can run)5
Code lines that did run5
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
   time   calls  line
1 function g_mod=get_mod_for_g
2 %compute modality number for each generato
0.14 1 3 load c:\mind_data06 G
1 4 r=size(G);r=r(2);
1 5 for g=1:r
0.02 1128 6 g_mod(g)=G(g).modality;
1128 7 end