This is a static copy of a profile report

Home

specgraph/private/datachk (74 calls, 0.000 sec)
Generated 14-Nov-2016 07:47:14 using cpu time.
function in file /usr/local/MATLAB/MATLAB_Production_Server/R2015a/toolbox/matlab/specgraph/private/datachk.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
specgraph/...te/areaHGUsingMATLABClassesfunction74
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
12
end
740 s0%
11
y = full(double(x));
740 s0%
10
else
740 s0%
8
if iscell(x)
740 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function12
Non-code lines (comments, blank lines)7
Code lines (lines that can run)5
Code lines that did run4
Code lines that did not run1
Coverage (did run/can run)80.00 %
Function listing
time 
calls 
 line
   1 
function y = datachk(x)
   2 
%DATACHK Convert input to full, double data for plotting
   3 
%  Y=DATACHK(X) creates a full, double array from X and returns it in Y.
   4 
%  If X is a cell array each element is converted elementwise.
   5 

   6 
%   Copyright 1984-2005 The MathWorks, Inc. 
   7 

     74 
   8 
if iscell(x) 
   9 
    y = cellfun(@datachk,x,'UniformOutput',false);
     74 
  10 
else 
     74 
  11 
    y = full(double(x)); 
     74 
  12 
end