- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Export from OpenModelica to MatLab
Export from OpenModelica to MatLab
Re: Export from OpenModelica to MatLab
By default, data is stored in a mat4 format file, which can easily be imported: https://openmodelica.org/index.php/forum/topic?id=434
- sjoelund.se
- 1700 Posts
Re: Export from OpenModelica to MatLab
Hello everyone,
I have an electrical circuit modeled and simulated in OMEdit 1.9.3 and I wanted to ask you how I can export the results of the simulation in a separate sheet? I tried the export .XML option from the tool bar but it looks like it exports only the model (variables, equations,...). What I want is the results of the simulation (e.g. the voltages of each pin of each component as an exported file).
I would be really thankful for your help.
Best,
Pouya
Re: Export from OpenModelica to MatLab
Hello everyone,
I have an electrical circuit modeled and simulated in OMEdit 1.9.3 and I wanted to ask you how I can export the results of the simulation in a separate sheet? I tried the export .XML option from the tool bar but it looks like it exports only the model (variables, equations,...). What I want is the results of the simulation (e.g. the voltages of each pin of each component as an exported file).
I would be really thankful for your help.
Best,
Pouya
Re: Export from OpenModelica to MatLab
That's easy. Just simulate the Model in OMEdit then load the generated Model_res.mat in Matlab.
The Model_res.mat is generated in your temp folder/OpenModelica/OMEdit.
- adrpo
- 885 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Export from OpenModelica to MatLab