This is a static copy of a profile reportHome
readScript>getSingleStrVal (2 calls, 0.011 sec)
Generated 05-Aug-2011 13:01:15 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
Line Number | Code | Calls | Total Time | % Time | Time Plot |
180 | str=findspaces(str); | 2 | 0.011 s | 100.0% |  |
188 | return; | 2 | 0 s | 0% |  |
186 | end | 4 | 0 s | 0% |  |
185 | q=1; | 4 | 0 s | 0% |  |
184 | eval(sprintf('par.%s.%s=str{m}... | 4 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0.011 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
findspaces | function | 2 | 0.011 s | 100.0% |  |
Self time (built-ins, overhead, etc.) | | | 0 s | 0% |  |
Totals | | | 0.011 s | 100% | |
Code Analyzer results
Line number | Message |
180 | The value assigned to variable 'str' might be unused. |
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 12 |
Non-code lines (comments, blank lines) | 6 |
Code lines (lines that can run) | 6 |
Code lines that did run | 6 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
177 function [par,q]=getSingleStrVal(par,list,type,str)
178
179 % get each individual inputs from str
0.01 2 180 str=findspaces(str);
181
182 % check that all
2 183 for m=1:length(list)
4 184 eval(sprintf('par.%s.%s=str{m};',type,list{m}));
4 185 q=1;
4 186 end
187
2 188 return;
Other subfunctions in this file are not included in this listing.