| Author |
Topic  |
|
|
tonev
Junior Member
 
USA
26 Posts |
Posted - May 28 2003 : 11:19:06 AM
|
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
|
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 |
 |
|
|
tonev
Junior Member
 
USA
26 Posts |
Posted - May 28 2003 : 2:35:22 PM
|
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 |
 |
|
|
charles.michelich
BIAC Alum
   
USA
183 Posts |
Posted - May 28 2003 : 3:00:14 PM
|
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 |
 |
|
|
tonev
Junior Member
 
USA
26 Posts |
Posted - May 28 2003 : 3:08:35 PM
|
Thanks Chuck--That did the trick.
Simon |
Simon T. Tonev, Ph.D. Department of Psychiatry and Behavioral Sciences Duke University Medical Center Durham, NC |
 |
|
| |
Topic  |
|