.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-05-19T18:15:52Z by OpenModelicaOpenModelica 1.22.4 using GenerateDoc.mos