Welcome to our user forum (read only mode).
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Can Only Access 1 Channel with datastrm

2 posters

Go down

Can Only Access 1 Channel with datastrm Empty Can Only Access 1 Channel with datastrm

Post  Britni Mon Sep 13, 2010 11:41 am

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

Britni

Posts : 3
Join date : 2010-09-13

Back to top Go down

Can Only Access 1 Channel with datastrm Empty Re: Can Only Access 1 Channel with datastrm

Post  Jens Tue Sep 14, 2010 9:30 am

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

Jens

Posts : 55
Join date : 2009-03-06
Location : Multi Channel Systems

http://www.multichannelsystems.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum