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.

Problem in datastrm.m or getfield.m

Go down

Problem in datastrm.m or getfield.m Empty Problem in datastrm.m or getfield.m

Post  mcs Thu Jun 12, 2008 11:13 am

Dear Sir

Some problem message happened in Matlab, while I am trying to access the .mcd data.
------------------------------------------------------------------

??? Maximum recursion limit of 1000 reached. Use set(0,'RecursionLimit',N)
to change the limit. Be aware that exceeding your available stack space can crash MATLAB and/or your computer.

Error in ==> U:\sunMainz65\getfield.m
On line 24 ==> field=getfield(ds, name);

??? Error while evaluating uicontrol CreateFcn.
-------------------------------------------------------------------
Could you help me to solve this problem? And if you need my program, please let me know.

Thanks for you help again.

Sincerely

Jyh-Jang Sun
sunj@uni-mainz.de

mcs

Posts : 518
Join date : 2008-06-10

Back to top Go down

Problem in datastrm.m or getfield.m Empty Re: Problem in datastrm.m or getfield.m

Post  mcs Thu Jun 12, 2008 11:13 am

Dear Jyh-Jang,

you can use the getfield function only in conjunction with certain literals. For example:

>> a = datastrm('c:\tmp\SpikeTest.mcd')

>> x = getfield(a,'filename')

x =

c:\tmp\SpikeTest.mcd

>> x = getfield(a,'StreamNames')

x =

'Spikes 2'
'Electrode Raw Data'
'Spikes 1'

>> x = getfield(a,'StreamCount')

x =

3

What is name in your function call field=getfield(ds, name) ?

Sincerely

Gerald
Multi Channel Systems

mcs

Posts : 518
Join date : 2008-06-10

Back to top Go down

Back to top

- Similar topics

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