This is a static copy of a profile report

Home

timer.delete (2 calls, 0.000 sec)
Generated 15-Mar-2007 12:01:52 using real time.
M-function in file C:\Program Files\MATLAB71\toolbox\matlab\iofun\@timer\delete.m
[Copy to new window for comparing multiple runs]

Parents (calling functions)

Function NameFunction TypeCalls
blinktxt>blinkcallbackM-subfunction2
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
26
stopWarn = false;
20.000 s100.0%
40
if stopWarn == true
20 s0%
38
end
20 s0%
37
end
20 s0%
35
obj.jobject(lcv).Asyncdelete;
20 s0%
Other lines & overhead  0 s0%
Totals  0.000 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
timer.lengthM-function20 s0%
Self time (built-ins, overhead, etc.)  0 s0%
Totals  0.000 s100% 
M-Lint results
Line numberMessage
30IF may not be aligned with its matching END (line 33).
Coverage results
[ Show coverage for parent directory ]
Total lines in file44
Non-code lines (comments, blank lines)27
Code lines (lines that can run)17
Code lines that did run9
Code lines that did not run8
Coverage (did run/can run)52.94 %
Function listing
   time   calls  line
1 function delete(obj)
2 %DELETE Remove timer object from memory.
3 %
4 % DELETE(OBJ) removes timer object, OBJ, from memory. If OBJ
5 % is an array of timer objects, DELETE removes all the objects
6 % from memory.
7 %
8 % When a timer object is deleted, it becomes invalid and cannot
9 % be reused. Use the CLEAR command to remove invalid timer
10 % objects from the workspace.
11 %
12 % If multiple references to a timer object exist in the workspace,
13 % deleting the timer object invalidates the remaining
14 % references. Use the CLEAR command to remove the remaining
15 % references to the object from the workspace.
16 %
17 % See also CLEAR, TIMER, TIMER/ISVALID.
18 %
19
20 % RDD 11-20-2001
21 % Copyright 2001-2004 The MathWorks, Inc.
22 % $Revision: 1.4.4.1 $ $Date: 2004/10/27 23:53:19 $
23
2 24 len = length(obj);
25
< 0.01 2 26 stopWarn = false;
27
2 28 for lcv=1:len
2 29 try
2 30 if obj.jobject(lcv).isRunning == 1
31 stopWarn = true;
32 obj.jobject(lcv).stop;
33 end
34 %Call the Java method, to trigger an asynchronous delete call.
2 35 obj.jobject(lcv).Asyncdelete;
36 catch
2 37 end
2 38 end
39
2 40 if stopWarn == true
41 state = warning('backtrace','off');
42 warning('MATLAB:timer:deleterunning',timererror('matlab:timer:deleterunning'));
43 warning(state);
44 end