Here is a little script I wrote. It will replace any string in any
matlab data structure, including SPM.mat files.
SPM = string_replace(SPM,oldstring,newstring)
Have Fun
Dennis
On Wed, Sep 12, 2012 at 4:07 AM, George Wallis <[log in to unmask]> wrote:
> Dear SPMers,
>
> There is a utility spm_changepath which helps when moving a file from one
> location to another. Does anyone know whether there is a way of also
> changing the filename of an SPM file, without breaking the mapping between
> the .mat and .dat components?
>
> All the best,
> George
|