I’ve written a MATLAB/ROOT data interface for reading and writing ROOT files from within MATLAB just as you do with MATLAB files. This enables research projects which use MATLAB for computation to store and exchange their data in the powerful ROOT file format.
The following MATLAB data types are supported:
The following file types are implemented:
Unfortunately only TFile works on all tested Platforms (SUSE, Ubuntu, WinXP). The other file types actually work only on SUSE 10.2. Maybe you’ll run in even more trouble when testing. I’m still learning that C++ and memory management stuff…
The interface is based on MEX, so you have to compile the C++ files in src/ first. The compile.m file may help. After this you can call rsave and rload in MATLAB as you would do with save and load.
Further documentation can be found in my diploma thesis (main.pdf, in German).
I’ll be thankful, if you republish improvements on my software, when you make some.
Kind regards, Johannes Kissel.
P.S.: I’ll post the link to my file in the MATLAB file exchange as soon as Mathworks released it.