This is a static copy of a profile report

Home

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)

Function NameFunction TypeCalls
imagesci\private\imftypeM-function1
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
15
end
10 s0%
14
tf = isequal(sig, double('BM')...
10 s0%
13
fclose(fid);
10 s0%
12
sig = fread(fid, 2, 'uint8');
10 s0%
11
else
10 s0%
Other lines & overhead  0 s0%
Totals  0.000 s0% 
Children (called functions)
No children
M-Lint results
No M-Lint messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in file16
Non-code lines (comments, blank lines)8
Code lines (lines that can run)8
Code lines that did run7
Code lines that did not run1
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