This is a static copy of a profile reportHome
readScript>isstrval (41 calls, 0.000 sec)
Generated 05-Aug-2011 13:01:14 using cpu time.
subfunction in file /home/LeechJ/cbass_analysis/reduc/support/readScript.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Lines where the most time was spent
No measurable time spent in this function| Line Number | Code | Calls | Total Time | % Time | Time Plot |
| 450 | end | 36 | 0 s | 0% |  |
| 449 | q=0; | 36 | 0 s | 0% |  |
| 448 | otherwise | 36 | 0 s | 0% |  |
| 446 | q=2; | 2 | 0 s | 0% |  |
| 445 | case 'domapflag' | 38 | 0 s | 0% |  |
| All other lines | | | 0 s | 0% |  |
| Totals | | | 0 s | 0% | |
Children (called functions)
| Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
| strmatch | function | 123 | 0 s | 0% |  |
| Self time (built-ins, overhead, etc.) | | | 0 s | 0% |  |
| Totals | | | 0 s | 0% | |
Code Analyzer results
| Line number | Message |
| 432 | STRMATCH will be removed in a future release. Replace STRMATCH(STR, STRARRAY, 'exact') with STRCMP(STR, STRARRAY). |
| 432 | Use || instead of | as the OR operator in (scalar) conditional statements. |
| 432 | STRMATCH will be removed in a future release. Replace STRMATCH(STR, STRARRAY, 'exact') with STRCMP(STR, STRARRAY). |
| 433 | Use || instead of | as the OR operator in (scalar) conditional statements. |
| 433 | STRMATCH will be removed in a future release. Replace STRMATCH(STR, STRARRAY, 'exact') with STRCMP(STR, STRARRAY). |
Coverage results
[ Show coverage for parent directory ]
| Total lines in function | 21 |
| Non-code lines (comments, blank lines) | 6 |
| Code lines (lines that can run) | 15 |
| Code lines that did run | 12 |
| Code lines that did not run | 3 |
| Coverage (did run/can run) | 80.00 % |
Function listing
time calls line
430 function q=isstrval(list)
431
41 432 if (~strmatch(list{1}, 'order', 'exact') | ~strmatch(list{1}, 'name', ...
41 433 'exact') | ~strmatch(list{1}, 'domapflag', 'exact'))
434 q=0;
435 return
436 end
437
41 438 switch list{1}
41 439 case 'order'
1 440 q = 1;
441
40 442 case 'name'
2 443 q = 2;
444
38 445 case 'domapflag'
2 446 q=2;
447
36 448 otherwise
36 449 q=0;
36 450 end
Other subfunctions in this file are not included in this listing.