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

Information

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 2024-11-23T19:25:52Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos