.TRANSFORM.Math.clamp

Information

Limit the output to within a min/max boundary.



Source:

Interface

function clamp
  extends TRANSFORM.Icons.Function;
  import Modelica.Math;
  input Real x "Value";
  input Real min "Minimum value below which x val holds as x = min";
  input Real max "Maximum value above which x val holds as x = min";
  output Real y "Result";
end clamp;

Generated at 2024-11-22T19:25:38Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos