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
| Type | Name | Default | Description |
|---|---|---|---|
| Real[3,2] | A | [11, 12; 21, 22; 31, 32] | Matrix stored in different formats on files |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | success1 | = true if writing to Test_RealMatrix_v4.mat is successful | |
| Boolean | success2 | = true if appending to Test_RealMatrix_v4.mat is successful | |
| Boolean | success3 | = true if writing to Test_RealMatrix_v6.mat is successful | |
| Boolean | success4 | = true if writing to Test_RealMatrix_v7.mat is successful |