This is a static copy of a profile report

Home

img2model>setDebugParam (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
523
end
10 s0%
519
end
10 s0%
518
debug = logical(debug);
10 s0%
517
else
10 s0%
511
if ischar(debug)
10 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
520Best 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
507 function [debug] = setDebugParam(param)
508 %set debug default to true
1 509 try
1 510 debug = param.debug;
1 511 if ischar(debug)
512 if strcmpi(debug, 'false')
513 debug = false;
514 else
515 debug = true;
516 end
1 517 else
1 518 debug = logical(debug);
1 519 end
520 catch
521 debug = true;
522 end
1 523 end

Other subfunctions in this file are not included in this listing.