Duke-UNC Brain Imaging and Analysis Center
BIAC Forums | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password   Forgot your Password?
 All Forums
 Support Forums
 BXH Header Support
 readmr error message
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

matthew.costello
Starting Member

5 Posts

Posted - Jun 01 2007 :  10:39:11 AM  Show Profile  Reply with Quote
Hi,

We have a new data technician who is using a computer that at one point could perform our routine BIAC matlab operations. We are trying now to get her Matlab to run a script that will resample the DTI images. For some reason we are getting the following error message when she tries to run the resampledti.m script, as well as other scripts that are utilizing readmr:

?? Error using ==> readmr
Maximum recursion limit of 500 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 ==> resampledti at 13
dtivol = readmr(fname,'BXH',{[],[],[],[],i});

I assume that this is because the resampledti script is calling upon another embedded function that is defunct or missing.

Any suggestions for debugging or re-installing would be greatly appreciated!
-Matt

vinod
Average Member

USA
68 Posts

Posted - Aug 28 2007 :  1:57:11 PM  Show Profile  Visit vinod's Homepage  Reply with Quote
Does anyone have any solution to this problem posted earlier? I seem to be getting this problem a lot with matlab over at CCN. Could this be some installation issue? For example, when I try to open a file in my path, like "edit findexp", I get

>> edit findexp
??? Maximum recursion limit of 3000 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.

>> which findexp
C:\Programs\BIAC_matlab_20070731_ver3.1.4\general\findexp.m
>> edit C:\Programs\BIAC_matlab_20070731_ver3.1.4\general\findexp.m

The last line works fine however. Any suggestions on what I can do to overcome this error? I changed the stackspace from default 500 to 3000 and still does not fix it.
Go to Top of Page

syam.gadde
BIAC Staff

USA
421 Posts

Posted - Aug 28 2007 :  2:03:20 PM  Show Profile  Reply with Quote
I don't know what's going on (it looks like something very strange). But given that this error only seems to happen when MATLAB has to search through the path for a file, it might be worth looking at the output of "path" to see if there are any clues?
Go to Top of Page

vinod
Average Member

USA
68 Posts

Posted - Aug 28 2007 :  2:17:03 PM  Show Profile  Visit vinod's Homepage  Reply with Quote
It turns out that matlab does not like having '.' in the path names. I just renamed the folder "BIAC_matlab_20070731_ver3.1.4" to "BIAC" and things seem to work fine. Good to know! :)
Go to Top of Page

rkozink
Junior Member

31 Posts

Posted - Jul 01 2008 :  09:45:44 AM  Show Profile  Reply with Quote
I just downloaded the latest version of the BIAC tools onto my new computer and I am now getting the same error message as shown in the above posts:

??? Error using ==> showsrs2
Error using ==> readmrgui
Error using ==> autodetectmr
Maximum recursion limit of 500 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.

All of the tools are in a folder named "BIAC", so there are no "." in the filename. Thanks for any suggestions.

Rachel
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BIAC Forums © 2000-2010 Brain Imaging and Analysis Center Go To Top Of Page
This page was generated in 0.45 seconds. Snitz Forums 2000