encapsulated function getMatrix import Modelica; import Modelica_DeviceDrivers.Incubate.OperatingSystem.DynamicArray; input DynamicArray arrayID; input Integer index "index, where in memory data is stored"; input Integer m "Number of rows of Matrix"; input Integer n "Number of columns of Matrix"; output Real u[m, n] "data to be stored"; end getMatrix;