This is a static copy of a profile report

Home

iscellstr (14248 calls, 0.470 sec)
Generated 05-Aug-2011 13:00:28 using cpu time.
function in file /usr/local/MATLAB/R2011a/toolbox/matlab/strfun/iscellstr.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
cell.uniquefunction3
cell.strmatchfunction13986
rmfieldfunction90
datevecfunction40
datenumfunction40
cell.ismemberfunction80
legend>process_inputssubfunction9
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
12
if isa(s,'cell'),
142480.164 s34.9%
13
res = cellfun('isclass',s,'cha...
72730.120 s25.6%
14
tf = all(res(:));
72730.033 s7.0%
17
end
69750 s0%
16
tf = false;
69750 s0%
All other lines  0.153 s32.6%
Totals  0.470 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function17
Non-code lines (comments, blank lines)11
Code lines (lines that can run)6
Code lines that did run6
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
   time   calls  line
1 function tf = iscellstr(s)
2 %ISCELLSTR True for cell array of strings.
3 % ISCELLSTR(S) returns 1 if S is a cell array of strings and 0
4 % otherwise. A cell array of strings is a cell array where
5 % every element is a character array.
6 %
7 % See also CELLSTR, ISCELL, CHAR, ISCHAR.
8
9 % Copyright 1984-2003 The MathWorks, Inc.
10 % $Revision: 1.17.4.2 $ $Date: 2004/04/10 23:32:38 $
11
0.16 14248 12 if isa(s,'cell'),
0.12 7273 13 res = cellfun('isclass',s,'char');
0.03 7273 14 tf = all(res(:));
6975 15 else
6975 16 tf = false;
6975 17 end