.Modelica_LinearSystems2.Math.Matrices.fromFile

Information

Read matrix from a matlab file

Interface

function fromFile
  extends Modelica.Icons.Function;
  import Modelica.Utilities.Streams;
  input String fileName = DataDir + "m.mat" annotation(
    Dialog(loadSelector(filter = "MAT files (*.mat);; All files (*.*)", caption = "matrix file")));
  input String matrixName = "m" "Name of the matrix";
  output Real A[n, m] = M;
end fromFile;

Generated at 2024-11-23T19:25:52Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos