.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-07-26T18:16:02Z by OpenModelicaOpenModelica 1.23.1 using GenerateDoc.mos