Page History
...
- When the comment is attached to a property which is owned by the Block. In the generated code, the Block is added as a model and the properties and content from the Modelica Extension comments are added in the same order as it was in the model.
When the comment is attached to a Block. In the generated code, the content from the comment, attached to the Block is added first, and the content from the comments, attached to the Block's properties, is added afterwards.
When the comment is attached to an Instance. In this case, the Modelica code is generated the same way as for Block.
Note - You can attach the Modelica Extension comment to the nested instances. However, only first two levels of the nested instances are supported.
- The inserted comment must be plain text.