This is a static copy of a profile report

Home

iskeyword (1 call, 0.000 sec)
Generated 05-Nov-2014 07:52:56 using cpu time.
function in file /usr1/opt/matlab/7.13/toolbox/matlab/lang/iskeyword.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
genvarnamefunction1
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
43
end
10 s0%
42
L = any(strcmp(s,L));
10 s0%
41
else
10 s0%
38
if nargin==0
10 s0%
15
L = {...
10 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 function43
Non-code lines (comments, blank lines)37
Code lines (lines that can run)6
Code lines that did run5
Code lines that did not run1
Coverage (did run/can run)83.33 %
Function listing
   time   calls  line
1 function L = iskeyword(s)
2 %ISKEYWORD Check if input is a keyword.
3 % ISKEYWORD(S) returns one if S is a MATLAB keyword,
4 % and 0 otherwise. MATLAB keywords cannot be used
5 % as variable names.
6 %
7 % ISKEYWORD used without any inputs returns a cell array containing
8 % the MATLAB keywords.
9 %
10 % See also ISVARNAME, GENVARNAME.
11
12 % Copyright 1984-2008 The MathWorks, Inc.
13 % $Revision: 1.3.4.4 $ $Date: 2008/06/24 17:13:58 $
14
1 15 L = {...
16 'break'
17 'case'
18 'catch'
19 'classdef'
20 'continue'
21 'else'
22 'elseif'
23 'end'
24 'for'
25 'function'
26 'global'
27 'if'
28 'otherwise'
29 'parfor'
30 'persistent'
31 'return'
32 'spmd'
33 'switch'
34 'try'
35 'while'
36 };
37
1 38 if nargin==0
39 % Return the list only
40 return
1 41 else
1 42 L = any(strcmp(s,L));
1 43 end