This is a static copy of a profile report

Home

imresize>warnIfPostMethodArgs (82820 calls, 3.325 sec)
Generated 05-Nov-2014 07:53:32 using cpu time.
subfunction in file /usr1/opt/matlab/7.13/toolbox/images/images/imresize.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
imresize>parseInputssubfunction82820
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
482
if (first_param_string_idx - m...
828200.841 s25.3%
474
if isempty(method_arg_idx)
828200.571 s17.2%
479
first_param_string_idx = numel...
828200.431 s13.0%
480
end
828200.250 s7.5%
478
if isempty(first_param_string_...
828200.230 s6.9%
All other lines  1.001 s30.1%
Totals  3.325 s100% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
Coverage results
[ Show coverage for parent directory ]
Total lines in function17
Non-code lines (comments, blank lines)8
Code lines (lines that can run)9
Code lines that did run5
Code lines that did not run4
Coverage (did run/can run)55.56 %
Function listing
   time   calls  line
468 function warnIfPostMethodArgs(args, method_arg_idx, first_param_string_idx)
469 % If there are arguments between the method argument and the first
470 % parameter string, these must be old-style antialiasing syntaxes that
471 % are no longer supported. Issue a warning message. Note that
472 % either method_arg_idx and first_param_string_idx may be empty.
473
0.57 82820 474 if isempty(method_arg_idx)
475 method_arg_idx = numel(args) + 1;
476 end
477
0.23 82820 478 if isempty(first_param_string_idx)
0.43 82820 479 first_param_string_idx = numel(args) + 1;
0.25 82820 480 end
481
0.84 82820 482 if (first_param_string_idx - method_arg_idx) > 1
483 warning(message('images:imresize:oldSyntaxesIgnored', 'N and H are now ignored in the old syntaxes IMRESIZE(...,method,N) and IMRESIZE(...,method,H).', 'Use IMRESIZE_OLD if you need the previous behavior.'));
484 end

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