This is a static copy of a profile report

Home

img2model>setVerboseParam (1 call, 0.000 sec)
Generated 05-Nov-2014 07:52:33 using cpu time.
subfunction in file /usr0/home/jenkins/workspace/cellorganizer-demo3D11-glnx64/utilities/img2model.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
img2modelfunction1
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
541
end
10 s0%
537
end
10 s0%
536
verbose = logical(verbose);
10 s0%
535
else
10 s0%
529
if ischar(verbose)
10 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
538Best practice is for CATCH to be followed by an identifier that gets the error information.
Coverage results
[ Show coverage for parent directory ]
Total lines in function17
Non-code lines (comments, blank lines)2
Code lines (lines that can run)15
Code lines that did run7
Code lines that did not run8
Coverage (did run/can run)46.67 %
Function listing
   time   calls  line
525 function [verbose] = setVerboseParam(param)
526 %set verbose default to true
1 527 try
1 528 verbose = param.verbose;
1 529 if ischar(verbose)
530 if strcmpi(verbose, 'false')
531 verbose = false;
532 else
533 verbose = true;
534 end
1 535 else
1 536 verbose = logical(verbose);
1 537 end
538 catch
539 verbose = true;
540 end
1 541 end