| View all articles regarding DyMat |
This package contains some modules to read and process the result files from Dymola and OpenModelica with python. A script is included that will help you to browse and export the contents of these files to other formats.
Both simulation systems save their results in regular mat-files, but use a special variable structure to store the data efficiently. An easy way to access the data is MATLAB, but some people (like me) don't have it or don't want to use it. DyMat needs scipy to load the contents of the files.
DyMat started as a simple python script, but now it's a package of modules and a powerful script to use the functions from the command line.
Download
The development of this package is hosted on github.com, you may browse and download the source code and documentation there.
Documentation
The most recent documentation can be found here.
Hi Joerg,
I have already pythonxy installed on my PC. Could you please tell me how and where to install DyMat? Under DyMay, I see several .py files. If I take CSV.py, how can I use this file along with my python already installed? I would appreciate if you email me or add your comment. I would like to convert OM mat file to a CSV or Excel format.
Zec
The package can be installed like most other python packages: open a terminal (cmd.exe), go to the package folder and run “python setup.py install”.
After that you should be able to import the modules or call the script DyMatExport.py in a terminal (use “DyMatExport.py –help” for an overview of the available options).