modelWriteRealMatrixToFile

Demonstrate usage of function Streams.writeRealMatrix

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

Example model that shows how to write a Real matrix in MATLAB MAT format on file using function writeRealMatrix.

Parameters

TypeNameDefaultDescription
Real[3,2]A[11, 12; 21, 22; 31, 32]Matrix stored in different formats on files

Components

TypeNameDefaultDescription
Booleansuccess1= true if writing to Test_RealMatrix_v4.mat is successful
Booleansuccess2= true if appending to Test_RealMatrix_v4.mat is successful
Booleansuccess3= true if writing to Test_RealMatrix_v6.mat is successful
Booleansuccess4= true if writing to Test_RealMatrix_v7.mat is successful