This is a static copy of a profile reportHome
timer.isvalid (33 calls, 0.000 sec)
Generated 15-Mar-2007 12:01:50 using real time.
M-function in file C:\Program Files\MATLAB71\toolbox\matlab\iofun\@timer\isvalid.m
[Copy to new window for comparing multiple runs]
Parents (calling functions)
Lines where the most time was spent
No measurable time spent in this functionLine Number | Code | Calls | Total Time | % Time | Time Plot |
30 | isok = isJavaTimer(obj.jobject... | 33 | 0 s | 0% |  |
Other lines & overhead | | | 0 s | 0% |  |
Totals | | | 0.000 s | 0% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
@timer\private\isJavaTimer | M-function | 33 | 0 s | 0% |  |
Self time (built-ins, overhead, etc.) | | | 0 s | 0% |  |
Totals | | | 0.000 s | 0% | |
M-Lint results
No M-Lint messages.Coverage results
[ Show coverage for parent directory ]
Total lines in file | 30 |
Non-code lines (comments, blank lines) | 29 |
Code lines (lines that can run) | 1 |
Code lines that did run | 1 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
1 function isok = isvalid(obj)
2 %ISVALID Determine if timer object is valid.
3 %
4 % OUT = ISVALID(OBJ) returns a logical array, OUT, that contains
5 % a 0 where the elements of OBJ are invalid timer objects and a 1
6 % where the elements of OBJ are valid timer objects.
7 %
8 % An invalid timer object is an object that has been deleted and
9 % cannot be reused. Use the CLEAR command to remove an invalid
10 % timer object from the workspace.
11 %
12 % Example:
13 % % Create a valid timer object.
14 % t = timer;
15 % out1 = isvalid(t)
16 %
17 % % Delete the timer object, hence making it invalid.
18 % delete(t)
19 % out2 = isvalid(t)
20 %
21 % See also TIMER/DELETE.
22 %
23
24 % RDD 11-20-2001
25 % Copyright 2001-2002 The MathWorks, Inc.
26 % $Revision: 1.2 $ $Date: 2002/02/20 20:17:02 $
27
28
29 % check each element in java object array to see if it is a timer object
33 30 isok = isJavaTimer(obj.jobject);