.Modelica_LinearSystems2.StateSpace.Internal.read_dslin

Read a StateSpace data record from mat-file

Information

Syntax

result = StateSpace.Internal.read_dslin(fileName)

Description

Return a state space data record read from matrix "ABCD" in the input mat-file fileName. The fileName can be generated e.g. by linearization of a model. Just empty state space matrices are returned when the system has no states, i.e. the size of matrix A in fileName is zero.

Interface

function read_dslin
  import Modelica;
  import DymolaCommands;
  import Modelica_LinearSystems2.StateSpace;
  input String fileName = "dslin" "Name of the result file";
  output StateSpace result(redeclare Real A[nx, nx], redeclare Real B[nx, nu], redeclare Real C[ny, nx], redeclare Real D[ny, nu]) "Outputs model linearized at initial point";
end read_dslin;

Generated at 2025-12-10T19:14:03Z by OpenModelicaOpenModelica 1.25.7 using GenerateDoc.mos