Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space IceMaster and version 3.7.1

Znav
nextMATLAB Mapping for Sequences
prevMATLAB Mapping for Enumerations

On this page:

Table of Contents
maxLevel3

...

The MATLAB mapping generates the following definition for this structure:

Code Block
languagematlab
titleMATLAB
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.

Ztop

See Also

Znav
nextMATLAB Mapping for Sequences
prevMATLAB Mapping for Enumerations