BIAC MATLAB Users,
You can use the function findexp to automatically determine the path to your experiment.
A Windows UNC path (i.e. \\Bristol\BIAC instead of T:\) is returned, therefore the script will work on all computers that are connected to Bristol, no matter which drive letter is being used for the SAN. If you use this to create the paths used in your scripts, it may also make it easier to use the scripts with other experiments.
Here is an example of using findexp when loading data into showsrs2:
expPath=findexp('Example.01');
anatPath=fullfile(expPath,'Data','Anat');
analysisPath=fullfile(expPath,'Analysis');
exam='20010101_12345';
anat=readmr(fullfile(anatPath,exam,'anat.img'),256,256,20,'volume');
tmap=readmr(fullfile(analysisPath,exam,'BinCorrect.img'),64,64,20,'float');
showsrs2(anat,[],tmap);Enjoy,
Chuck