This is a static copy of a profile report

Home

graphics.panbehavior.schema (1 call, 0.000 sec)
Generated 05-Aug-2011 13:03:35 using cpu time.
function in file /usr/local/MATLAB/R2011a/toolbox/matlab/graphics/@graphics/@panbehavior/schema.m
Copy to new window for comparing multiple runs

Parents (calling functions)

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

Line NumberCodeCallsTotal Time% TimeTime Plot
31
schema.event(cls,'EndDrag');
10 s0%
30
schema.event(cls,'BeginDrag');
10 s0%
27
p.FactoryValue = 'both';
10 s0%
26
p = schema.prop(cls,'Style','S...
10 s0%
24
end
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 function31
Non-code lines (comments, blank lines)31
Code lines (lines that can run)0
Code lines that did run19
Code lines that did not run0
Coverage (did run/can run)N/A
Function listing
   time   calls  line
1 function schema
2
3 % Copyright 2004-2006 The MathWorks, Inc.
4
1 5 pk = findpackage('graphics');
1 6 cls = schema.class(pk,'panbehavior');
7
1 8 p = schema.prop(cls,'Enable','bool');
1 9 p.FactoryValue = true;
10
1 11 p = schema.prop(cls,'Serialize','MATLAB array');
1 12 p.FactoryValue = true;
1 13 p.AccessFlags.Serialize = 'off';
14
1 15 p = schema.prop(cls,'Name','string');
1 16 p.AccessFlags.PublicSet = 'off';
1 17 p.AccessFlags.PublicGet = 'on';
1 18 p.FactoryValue = 'Pan';
1 19 p.AccessFlags.Serialize = 'off';
20
21 % Enumeration Style Type
1 22 if (isempty(findtype('StyleChoice')))
1 23 schema.EnumType('StyleChoice',{'horizontal','vertical','both'});
1 24 end
25
1 26 p = schema.prop(cls,'Style','StyleChoice');
1 27 p.FactoryValue = 'both';
28
29 % EVENTS
1 30 schema.event(cls,'BeginDrag');
1 31 schema.event(cls,'EndDrag');