This is a static copy of a profile report

Home

importdata>LocalRowColShuffle (4 calls, 0.000 sec)
Generated 05-Aug-2011 13:01:25 using cpu time.
subfunction in file /usr/local/MATLAB/R2011a/toolbox/matlab/iofun/importdata.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
importdata>LocalTextReadsubfunction4
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
288
end
40 s0%
287
out.colheaders = in.textdata(e...
40 s0%
285
elseif tn == dn
40 s0%
282
if tn == 1 && tm == dm
40 s0%
280
[tm, tn] = size(in.textdata);
40 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
Coverage results
[ Show coverage for parent directory ]
Total lines in function18
Non-code lines (comments, blank lines)7
Code lines (lines that can run)11
Code lines that did run8
Code lines that did not run3
Coverage (did run/can run)72.73 %
Function listing
   time   calls  line
271 function out = LocalRowColShuffle(in)
272
4 273 out = in;
274
4 275 if isempty(in) || ~isfield(in, 'data') || ~isfield(in,'textdata') || isempty(in.data) || isempty(in.textdata)
276 return;
277 end
278
4 279 [dm, dn] = size(in.data);
4 280 [tm, tn] = size(in.textdata);
281
4 282 if tn == 1 && tm == dm
283 % use as row headers
284 out.rowheaders = in.textdata(:,end);
4 285 elseif tn == dn
286 % use last row as col headers
4 287 out.colheaders = in.textdata(end,:);
4 288 end

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