.OpenModelica.Scripting.getAnnotationModifierValue

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

Interface

function getAnnotationModifierValue
  input TypeName className;
  input String annotationName;
  input String modifierName;
  output String modifierValue;
end getAnnotationModifierValue;

Generated at 2025-05-10T18:20:09Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos