Hello,
I tested load function with SPM99 and Matlab 5.3.0 on NT 4 (sp 6). I copied
several mat-files to work directory and attempted to load them. All SPM99
produced mat-files (e.g. SPM.mat) loaded without errors but all files
originally from SPM99 (or SPM99b) rend directory caused following error
message:
??? Error using ==> load
Can't read file.
I also tried both of John's earlier tips (uppdated and matthew's render
mat-files) but load caused same error message. I also renamed files but
nothing changed. What's wrong with mat-files (or with Matlab 5.3.0 (on NT
4))? Could somebody else try to load render mat-files (with Matlab 5.3 on NT
4) and tell results?
Thanks,
Sargo Aalto
Turku PET Centre, Finland
----- Original Message -----
From: "John Ashburner" <[log in to unmask]>
To: <[log in to unmask]>; <[log in to unmask]>
Cc: <[log in to unmask]>
Sent: Tuesday, March 14, 2000 1:40 PM
Subject: Re: Problems using Render Display option
> "load and resave in Matlab 5.3" means that the contents of each
> render_*.mat were loaded into Matlab 5.3, and saved back into
> a new render_*.mat.
>
> There was a glitch on some systems that meant that Matlab had problems
> loading the render_*.mat files. You can test to see if this is the
> problem that you were experiencing by typing:
> rendfile = 'D:\spm99\rend\render_smooth_average.mat';
> load(rendfile)
>
> and also:
> dir D:\spm99\rend\render_smooth_average.mat
> to see if the file actually exists. If it does not actually load the
> file, then I don't really have any good suggestions, except possibly
> checking the file permissions to see if it is readable.
>
> All the best,
> -John
>
> | We copied the render_*.mat files from FIL website to SPM99/rend folder
and
> | deleted the old ones. After this we tried to get results, but the same
error
> | message below
> | remained. We also tried Matthew Brett's files, but we didn't succeed to
open
> | them.
> |
> | There is still a loading error. Did we go somewhere wrong?
> | Or is this problem more complicated?
> | What does that load and resave in Matlab 5.3 actually mean?
> | We are using SPM99 and Matlab 5.3.
> |
> | Thanks,
> | Esa
> |
> | > I think this may be a Matlab glitch that Matthew Brett found a fix
for,
> | > that I copied to our patches and fixes directory:
> | > ftp://ftp.fil.ion.ucl.ac.uk/spm/spm99_updates/renders.tar.gz
> | >
> | >
________________________________________________________________________
> | > renders.tar.gz
> |
> ------------------------------------------------------------------------
> | > The renders problem reported by James Patterson on the list may be the
> | > same as that for SPM99b, and merely needs the render matrices loaded
and
> | > resaved in matlab 5.3. The new render_*.mat files were created by
> | > Matthew Brett, and obtained from:
> | > http://www.mrc-cbu.cam.ac.uk/~matthew.brett/ftp/Win_spm99/renders.tgz
> | > -JA
> | >
________________________________________________________________________
> | >
> | > Best wishes,
> | > -John
> | >
> | >
> | > | We have problems using Render Display option.Our aim is to get a
proper
> | > | brain image
> | > | from a contrast image. First we chose number of sets :1 set and
then
> | > | selected SPM.mat and a contrast of our interest and estimated it. No
> | matter
> | > | which render file render*.mat and style and brighten blobs option we
> | use, we
> | > | get the following error message:
> | > |
> | > | SPM99: spm_render (v2.16) 17:57:52 -
13/03/2000
> | > |
========================================================================
> | > |
> | > | SPM99: spm_getspm (v2.35) 17:57:54 - 13/03/2000
> | > | ----------------------------------------------------------------
> | > | SPM computation : ...initialising
> | > | ...computing ...done
> | > | contrast structure : ...saved to xCon.mat
> | > | ??? Error using ==> load
> | > | Can't read file.
> | > |
> | > | Error in ==> D:\spm99\spm_render.m
> | > | On line 78 ==> load(rendfile);
> | > |
> | > | Error in ==> D:\spm99\spm.m
> | > | On line 1180 ==> evalin('base',CBs{v-1})
> | > |
> | > | ??? Error while evaluating uicontrol Callback.
> | > |
> | > | Does anybody know how to fix this?
> | > | Thanks in advance!
> | > |
> | > | Esa Wallius
> | > | University of Turku, Finland
> | > |
> |
> |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|