uses

uses

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Defines that classes within this top-level class uses a specific version of another top-level class

Examples

model A
  annotation(version="1.0",
     uses(Modelica(version="1.5")));
  ...
end A;

model B
  annotation(uses(Modelica(version="2.1 Beta 1")));
  ...
end B;

Description

  • uses(IDENT (version = VERSION-NUMBER) )
    Defines that classes within this top-level class uses version VERSION-NUMBER of classes within the top-level class IDENT. The annotations uses and conversion may contain several different sub-entries.
Related annotations