MATLAB Function Reference |
Display information about memory map object
Syntax
Description
displays all properties and their values for disp(obj)
memmapfile
object obj
.
MATLAB also displays this information when you construct a memmapfile
object or set any of the object's property values, provided you do not terminate the command to do so with a semicolon.
Examples
Construct an object m
of class memmapfile
:
m = memmapfile('records.dat', 'offset', 2048, 'format', { ... 'int16' [2 2] 'model'; ... 'uint32' [1 1] 'serialno'; ... 'single' [1 3] 'expenses'})
Use disp
to display all the object's current properties:
disp(m) Filename: 'd:\matlab\mfiles\records.dat' Writable: false Offset: 2048 Format: {'int16' [2 2] 'model' 'uint32' [1 1] 'serialno' 'single' [1 3] 'expenses'} Repeat: Inf Data: 753x1 struct array with fields: model serialno expenses
See Also
display | disp (timer) |
© 1994-2005 The MathWorks, Inc.