This is a static copy of a profile reportHome
imagesci\private\isbmp (1 call, 0.000 sec)
Generated 15-Mar-2007 12:01:57 using real time.
M-function in file C:\Program Files\MATLAB71\toolbox\matlab\imagesci\private\isbmp.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 |
15 | end | 1 | 0 s | 0% |  |
14 | tf = isequal(sig, double('BM')... | 1 | 0 s | 0% |  |
13 | fclose(fid); | 1 | 0 s | 0% |  |
12 | sig = fread(fid, 2, 'uint8'); | 1 | 0 s | 0% |  |
11 | else | 1 | 0 s | 0% |  |
Other lines & overhead | | | 0 s | 0% |  |
Totals | | | 0.000 s | 0% | |
Children (called functions)
No childrenM-Lint results
No M-Lint messages.Coverage results
[ Show coverage for parent directory ]
Total lines in file | 16 |
Non-code lines (comments, blank lines) | 8 |
Code lines (lines that can run) | 8 |
Code lines that did run | 7 |
Code lines that did not run | 1 |
Coverage (did run/can run) | 87.50 % |
Function listing
time calls line
1 function tf = isbmp(filename)
2 %ISBMP Returns true for a BMP file.
3 % TF = ISBMP(FILENAME)
4
5 % Copyright 1984-2002 The MathWorks, Inc.
6 % $Revision: 1.1.6.1 $ $Date: 2003/12/13 03:00:34 $
7
1 8 fid = fopen(filename, 'r', 'ieee-le');
1 9 if (fid < 0)
10 tf = false;
1 11 else
1 12 sig = fread(fid, 2, 'uint8');
1 13 fclose(fid);
1 14 tf = isequal(sig, double('BM')');
1 15 end
16