| MATLAB Function Reference | ![]() |
disp(obj)
disp(obj) displays all properties and their values for memmapfile object obj.
The MATLAB® software 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.
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
![]() | disp | disp (MException) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |