This is a static copy of a profile reportHome
imagesci\private\imbmpinfo>readBMPFileHeader (1 call, 0.000 sec)
Generated 15-Mar-2007 12:01:58 using real time.
M-subfunction in file C:\Program Files\MATLAB71\toolbox\matlab\imagesci\private\imbmpinfo.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 |
205 | info.ImageDataOffset = fread(f... | 1 | 0 s | 0% |  |
204 | fseek(fid, 4, 'cof'); % skip ... | 1 | 0 s | 0% |  |
203 | info.FileSize = fread(fid, 1, ... | 1 | 0 s | 0% |  |
202 | fseek(fid, 2, 'cof'); % FileT... | 1 | 0 s | 0% |  |
Other lines & overhead | | | 0 s | 0% |  |
Totals | | | 0.000 s | 0% | |
Children (called functions)
No childrenM-Lint results
Coverage results
[ Show coverage for parent directory ]
Total lines in file | 10 |
Non-code lines (comments, blank lines) | 6 |
Code lines (lines that can run) | 4 |
Code lines that did run | 4 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
199 function info = readBMPFileHeader(fid, info)
200 %READBMPFILEHEADER Read the BMPFileHeader structure.
201
1 202 fseek(fid, 2, 'cof'); % FileType (usually 'BM')
1 203 info.FileSize = fread(fid, 1, 'uint32');
1 204 fseek(fid, 4, 'cof'); % skip 2 reserved 16-bit words
1 205 info.ImageDataOffset = fread(fid, 1, 'uint32');
206
207
208
Other subfunctions in this file are not included in this listing.