.Modelica_LinearSystems2.Internal.Streams.ReadMatrixD2

Information

Read the feed forward matrix of a state space system

Interface

function ReadMatrixD2
  input String fileName = DataDir + "abcd.mat" annotation(
    Dialog(loadSelector(filter = "MAT files (*.mat);; All files (*.*)", caption = "state space system data file")));
  input String matrixName = "ABCD" "Name of the generalized state space system matrix";
  input Integer nx "System order";
  input Integer nu "number of inputs";
  input Integer ny "number of outputs";
  output Real D[ny, nu] = ABCD[nx + 1:nx + ny, nx + 1:nx + nu];
end ReadMatrixD2;

Generated at 2024-04-25T18:15:59Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos