Znav |
---|
next | MATLAB Mapping for Sequences |
---|
prev | MATLAB Mapping for Enumerations |
---|
|
On this page:
...
The MATLAB mapping generates the following definition for this structure:
Code Block |
---|
language | matlab |
---|
title | MATLAB |
---|
|
classdef Employee
properties
number int64
firstName char
lastName char
end
methods
function obj = Employee(number, firstName, lastName)
...
end
end
...
end |
...
You can also declare different default values for members of primitive and enumerated types.
See Also
Znav |
---|
next | MATLAB Mapping for Sequences |
---|
prev | MATLAB Mapping for Enumerations |
---|
|