.OpenModelica.Scripting.convertUnits

Information

Returns the scale factor and offsets used when converting two units.

Returns false if the types are not compatible and should not be converted.

Interface

function convertUnits
  input String s1;
  input String s2;
  output Boolean unitsCompatible;
  output Real scaleFactor;
  output Real offset;
end convertUnits;

Generated at 2024-12-25T19:25:50Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos