Definition of Primitive Interfaces

After creating a new primitive, MLDesigner automatically opens a Model Editor Window containing the empty interface model of the primitive. However, if the primitive was created as a copy of an existing one, you must explicitly open it in a Model Editor Window. Now, you can use the Model Editor Window to define the primitive interface. The toolbar for defining the primitive interface can be seen below.

The external interface model of a primitive consists of:

Toolbar for primitive interface models
Model Property Definitions

As with all hierarchical modules, you can define common model properties of a primitive using the Property Editor Window. The following list explains the important properties for primitives. You can find a complete list of all common properties in the Modeling Guide .

Input/Output Port Definitions

Use the tool buttons Add Input Port and Add Output Port to create an arbitrary number of input and output ports.

Parameter Definitions

For the definition of primitive parameters you have to use the Property Editor.


You can place annotations (plain text labels) anywhere within the model background. Use the tool button Add Text Label to create a new text label. You can define the text, the color, the font size, and the justification of the text label. After creation you can change an annotation anytime by selecting the text label and modifying the label properties using the Property Editor Window.