functiongetAnnotationModifierValue

Returns the value for a modifier in the given annotation.

Information

Example:

  model M
    annotation(experiment(StartTime = 1.0, StopTime = 2.0));
  end M;

  getAnnotationModifierValue(M, "experiment", "StopTime") => 2.0

Inputs

TypeNameDefaultDescription
TypeNameclassName
StringannotationName
StringmodifierName

Outputs

TypeNameDefaultDescription
StringmodifierValue