.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-07-17T01:39:38Z by OpenModelicaOpenModelica 1.14.0~dev-26604-gbda57e7 using GenerateDoc.mos