| Author |
Topic  |
|
|
tonev
Junior Member
 
USA
26 Posts |
Posted - Jul 08 2004 : 5:54:46 PM
|
In order to resolve compatibility issues with some BIAC tools, I've recently upgraded from Matlab 6.5 to Matlab 6.5.1. Unfortunately, instead of simply updating a few files, Mathworks seems to require that a clean install of the new version be performed. After installing Matlab and transferring all of the latest BIAC tools and other folders from Gall into the new Matlab directory (I decided to keep the old copy in C:\Matlab6p5 and the new in C:\Matlab6p5p1), I can't seem to get the BXH tools (e.g., readmr) working in the new version.
When I try to load an image using a bxh file, I get the error message:
"Current image is not BXH format or you don't have the XML libraries installed!"
I've checked the following things:
1) The image IS in BXH format. It was readable by the earlier version of Matlab. 2) I've changed my BIACMATLABROOT system environment variable to C:\MATLAB6p5p1\BIAC (which is the directory where all of the BIAC tools/directories are located). 3) I've added C:\MATLAB6p5p1\BIAC\lib (which is where the libxml2.dll and iconv.dll are located) to my PATH variable. 4) When I revert these values back to point to the older matlab directory and then run the older version, everything's fine.
What am I missing?
Simon
|
Simon T. Tonev, Ph.D. Department of Psychiatry and Behavioral Sciences Duke University Medical Center Durham, NC |
|
|
syam.gadde
BIAC Staff
    
USA
421 Posts |
Posted - Jul 09 2004 : 10:25:35 AM
|
Hi Simon,
Just making sure about one thing -- on the phone, we had discovered that when you tried to add multiple paths to the PATH environment variable, that variable would not get passed to applications (like Matlab or a DOS prompt), whereas if the PATH environment variable only had one path, it would succeed. Is that still happening?
Also, by "older version", do you mean older version of Matlab or older version of BIAC tools? |
 |
|
|
tonev
Junior Member
 
USA
26 Posts |
Posted - Jul 09 2004 : 10:58:30 AM
|
Hey Syam--Actually, I was mistaken when we spoke on the phone. When I checked the path I was using the old DOS command.com rather than the WinNT command line shell (cmd.exe). When I check the path in command.com, the BIAC paths don't appear. When I check using cmd.exe, they DO appear. When I revert back to the 6.5 settings, the same thing happens (i.e., paths appear with cmd but not command).
To answer your other question, by "older version", I meant Matlab 6.5, rather than 6.5.1. I've downloaded the \\gall.biac.duke.edu\programs\matlab\biac directory to my local computer which (I assume) has the latest versions, fixes, etc. |
 |
|
|
syam.gadde
BIAC Staff
    
USA
421 Posts |
Posted - Jul 09 2004 : 11:34:54 AM
|
OK thanks for verifying. I conferred with others and the consensus is that your Matlab installation may be messed up in some way. All BIAC machines are running 6.5.1 so the Matlab version shouldn't be the problem. Our suggestion is to completely uninstall Matlab on your machine and reinstall it and see if that fixes things. Apparently there are problems if you don't uninstall first.
Also suggested if the problem persists: to get a more detailed error message, run readmr without the GUI, i.e. readmr('myfile.bxh')
|
 |
|
| |
Topic  |
|
|
|