- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Export result mat file to Matlab...
Export result mat file to Matlab (file attached)
Export result mat file to Matlab (file attached)
Hi everyone !
I made a function to import the MAT file generated by OpenModelica to Matlab (see file attached).
The function is based on the 'omimport' function by Christian Schaad, with the following enhancements:
a. all the variables are returned in a single 'struct' variable. This is advantageous when importing several results in the same workspace and we don't want to mix the variables.
b. the user can choose to import or not the time derivative of the variables.
c. the user can set a 'black list' of variables (or components) to exclude from the import process.
I hope this helps!
Cheers!
omimportNew.m
- Ferrucci
- 10 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Export result mat file to Matlab...