Can Only Access 1 Channel with datastrm
2 posters
Page 1 of 1
Can Only Access 1 Channel with datastrm
I'm trying to read in .mcd data into Matlab using datastrm. I usually do that as follows:
>> d = datastrm('test.mcd');
>> c = nextdata(d, 'startend',[0,5000],'streamname','Electrode Raw Data 1');
The problem is that c.data is a 500000x1 double matrix, although I am sure there are multiple channels in the .mcd file. The file shows multiple channels when I replay it in MC_Rack, and the structure d indicates that there are multiple channels when I use the getfield function.
How do I access the other data streams? Alternatively, is it possible that c.data is giving me an interleaved combination of all the channels (I guess the number of samples makes sense for that)?
Thanks,
Britni
>> d = datastrm('test.mcd');
>> c = nextdata(d, 'startend',[0,5000],'streamname','Electrode Raw Data 1');
The problem is that c.data is a 500000x1 double matrix, although I am sure there are multiple channels in the .mcd file. The file shows multiple channels when I replay it in MC_Rack, and the structure d indicates that there are multiple channels when I use the getfield function.
How do I access the other data streams? Alternatively, is it possible that c.data is giving me an interleaved combination of all the channels (I guess the number of samples makes sense for that)?
Thanks,
Britni
Britni- Posts : 3
Join date : 2010-09-13
Re: Can Only Access 1 Channel with datastrm
The Matlab stream tools are no longer supported for reading MCD files with configuration setup.
We recommend Neuroshare and tools that are using it as sigTOOL or FIND, please visit our download page:
http://www.multichannelsystems.com/downloads
Alternatively you can edit the *.m files yourself.
The line that needs change is: nextdata.m:194
You need to add 'Electrode Raw Data 1' and so on.
The matrix dimension is number of 'channels'x'number of samples'.
Best, Jens
We recommend Neuroshare and tools that are using it as sigTOOL or FIND, please visit our download page:
http://www.multichannelsystems.com/downloads
Alternatively you can edit the *.m files yourself.
The line that needs change is: nextdata.m:194
You need to add 'Electrode Raw Data 1' and so on.
The matrix dimension is number of 'channels'x'number of samples'.
Best, Jens
Similar topics
» How to extract data of specified channel?
» Problem in datastrm.m or getfield.m
» Real-time spike saving
» How to access MCD file with a C or C++ application?
» PC requirements for 120 channel (2xMEA1060) recording?
» Problem in datastrm.m or getfield.m
» Real-time spike saving
» How to access MCD file with a C or C++ application?
» PC requirements for 120 channel (2xMEA1060) recording?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|