This is a static copy of a profile report

Home

iscellstr (65570 calls, 2.634 sec)
Generated 05-Nov-2014 07:52:33 using cpu time.
function in file /usr1/opt/matlab/7.13/toolbox/matlab/strfun/iscellstr.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
lsfunction20
cell.strmatchfunction65548
validatestring>checkInputssubfunction2
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
13
res = cellfun('isclass',s,'cha...
327960.651 s24.7%
14
tf = all(res(:));
327960.240 s9.1%
17
end
327740.200 s7.6%
12
if isa(s,'cell'),
655700.190 s7.2%
16
tf = false;
327740.150 s5.7%
All other lines  1.202 s45.6%
Totals  2.634 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.19 65570 12 if isa(s,'cell'),
0.65 32796 13 res = cellfun('isclass',s,'char');
0.24 32796 14 tf = all(res(:));
0.12 32774 15 else
0.15 32774 16 tf = false;
0.20 32774 17 end