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
 Analysis Software Support
 TstatProfile and Matlab 6.5
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tonev
Junior Member

USA
26 Posts

Posted - May 28 2003 :  11:19:06 AM  Show Profile  Reply with Quote
Has anyone had problems using the newest version of TstatProfile (05-13-02) with Matlab 6.5? It seems to read the paradigm files alright, but it crashes just before it would begin reading in the functionals. The following error message is displayed:

GUI Error:
Error using ==> ismember
Too many output arguments.

I've tried the program in Matlab 6.1 and it works fine. Actually, perhaps it's an ismember problem. In either case, any assistance would be appreciated.

Simon

Simon T. Tonev, Ph.D.
Department of Psychiatry and Behavioral Sciences
Duke University Medical Center
Durham, NC

josh.bizzell
BIAC Staff

USA
118 Posts

Posted - May 28 2003 :  1:58:40 PM  Show Profile  Reply with Quote
Simon,
I did a "which ismember" in both Matlab 6.1 and Matlab 6.5, and it appears that there is a different version of "ismember" being used.
6.1 used one on \\gall\programs\matlab\biac\fix\MATLAB6\ while 6.5 used the local version (C:\Program_Files\Matlab\toolbox\matlab\ops\).

It appears that Francis fixed some bugs in the regular version of ismember, so try using the newer version from Gall.
-Josh
Go to Top of Page

tonev
Junior Member

USA
26 Posts

Posted - May 28 2003 :  2:35:22 PM  Show Profile  Reply with Quote
Hi Josh--It appears as though I wasn't using the local version of ismember, but I was using an older fix (from the MATLAB53 directory). So I renamed that file and did a "which ismember" to make sure that it was using the MATLAB6 version. Despite using this newer version, tstatprofile still crashed, giving me the identical error.

Simon

Simon T. Tonev, Ph.D.
Department of Psychiatry and Behavioral Sciences
Duke University Medical Center
Durham, NC
Go to Top of Page

charles.michelich
BIAC Alum

USA
183 Posts

Posted - May 28 2003 :  3:00:14 PM  Show Profile  Reply with Quote
Simon and Josh,

The fix directories should be used as follows:

Use \\Gall\Programs\MATLAB\BIAC\fix\MATLAB53\ for MATLAB 5.3
Use \\Gall\Programs\MATLAB\BIAC\fix\MATLAB6\ for MATLAB 6.0 and 6.1
Use \\Gall\Programs\MATLAB\BIAC\fix\MATLAB65\ for MATLAB 6.5

There is not a "fix" version of ismember for MATLAB 6.5 since none of the bugs that Francis fixed exist in the MATLAB 6.5 version of ismember. The problem that you are having is that MATLAB 6.5 is expecting to have new functionality in ismember that is not present in the MATLAB6 "fix" version.

Remove \\Gall\Programs\MATLAB\BIAC\fix\MATLAB6\ from your path and add \\Gall\Programs\MATLAB\BIAC\fix\MATLAB65\ to your path.

which ismember should return C:\Program_Files\Matlab\toolbox\matlab\ops\ since there is no fix version for MATLAB 6.5

Please let us know if this works.

Chuck
Go to Top of Page

tonev
Junior Member

USA
26 Posts

Posted - May 28 2003 :  3:08:35 PM  Show Profile  Reply with Quote
Thanks Chuck--That did the trick.

Simon

Simon T. Tonev, Ph.D.
Department of Psychiatry and Behavioral Sciences
Duke University Medical Center
Durham, NC
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.53 seconds. Snitz Forums 2000