.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 2019-09-15T01:38:28Z by OpenModelicaOpenModelica 1.14.0~dev-26728-gbf603de using GenerateDoc.mos