.DESLib.SIMANLib.SRC.Elements.Attributes.set

set value of an attribute or a position in the attribute (if matrix)

Interface

function set
  input Integer entity "entity with list of attributes";
  input Integer attrnum "attribute number in the list";
  input Real value "value of the attribute, or given position (row,col)";
  input Integer rows = 1 "number of rows of the attribute (if matrix)";
  input Integer cols = 1 "number of columns of the attribute (if matrix)";
  input Integer row = 1 "row if attribute is a matrix";
  input Integer col = 1 "column if attribute is a matrix";
end set;

Generated at 2025-04-06T18:19:50Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos