Read a signal in OpenVibe

Come here to discuss about OpenViBE in general!
Post Reply
Aline Buzzi
Posts: 9
Joined: Mon Oct 12, 2015 2:47 pm

Read a signal in OpenVibe

Post by Aline Buzzi »

Hello,

I have a signal obtained with a g.tec product that is in a matlab program and it is in a .mat format. I want to use this signal in Openvibe, because this I need to read it. Can I read the signal using GDF reader? If I can, What's the format that I need to convert my file .mat?

jtlindgren
Posts: 775
Joined: Tue Dec 04, 2012 3:53 pm
Location: INRIA Rennes, FRANCE

Re: Read a signal in OpenVibe

Post by jtlindgren »

Hi,

you can try to save the signal to a CSV format using the 'csvwrite' command in Matlab and then loading the file in openvibe (after making a few mods as described here http://openvibe.inria.fr/documentation/ ... eader.html ) . This gets you the signal only, not any markers. Alternatively, if you can find a GDF writer for Matlab that properly saves your gtec stuff, you can save your data to GDF there and then try to read it in OpenViBE.

.mat format itself is a generic Matlab storage container which can contain anything. In addition, the format spec is afaik closed, and it cannot be loaded by OpenViBE.


Good luck,
Jussi

Post Reply