.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-11-22T19:25:38Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos