This is a static copy of a profile reportHome
get_gs_in_mod (2 calls, 1.047 sec)
Generated 15-Mar-2007 12:01:41 using real time.
M-function in file c:\mind07\get_gs_in_mod.m
[Copy to new window for comparing multiple runs]
Parents (calling functions)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
3 | load c:\mind_data06 | 2 | 1.016 s | 97.0% |  |
9 | gs_in_mod{1,m}=[gs_in_mod{1,m}... | 2256 | 0.031 s | 3.0% |  |
4 | n_mod=size(modalities);n_mod=n... | 2 | 0.000 s | 0.0% |  |
10 | end | 2256 | 0 s | 0% |  |
8 | m=G(g).modality; | 2256 | 0 s | 0% |  |
Other lines & overhead | | | 0 s | 0% |  |
Totals | | | 1.047 s | 100% | |
Children (called functions)
No childrenM-Lint results
No M-Lint messages.Coverage results
[ Show coverage for parent directory ]
Total lines in file | 10 |
Non-code lines (comments, blank lines) | 2 |
Code lines (lines that can run) | 8 |
Code lines that did run | 8 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
1 function gs_in_mod=get_gs_in_mod
2 %calculates the cell "gs_in_mod"
1.02 2 3 load c:\mind_data06
< 0.01 2 4 n_mod=size(modalities);n_mod=n_mod(1);
2 5 gs_in_mod=cell(1,n_mod);
2 6 r=size(G);r=r(2);
2 7 for g=1:r
2256 8 m=G(g).modality;
0.03 2256 9 gs_in_mod{1,m}=[gs_in_mod{1,m},g];
2256 10 end