Commit 617e42d
authored
[NB,C] Save array variables in MAT format (#14922)
* Use number of array + scalar variables for freeModelDataVars
* Use number of array + scalar variables to save mat results using index mapping
* New util functions `lengthName` and `lengthDescription` to work with scalar and array variables.
* New util functions `printArrayName` and `printArrayDescription` to print name and comment for scalar and array variables.
* Update NB test `simpleForLoop.mos` to support array variables.1 parent e101803 commit 617e42d
File tree
3 files changed
+867
-446
lines changed- OMCompiler/SimulationRuntime/c/simulation/results
- testsuite/simulation/modelica/NBackend/basics
3 files changed
+867
-446
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments