Apologies in advance if this suggestion is a bit simplistic but I often see
this error message when matlab cannot find the m-file (i.e.'file_name.m').
Regardless of how your MATLABPATH variable is setup, if you copy
file_name.m to the directory where spm_bch.m resides and still get this
error when attempting to run the script (from this same directory) then
this isn't the problem.
-Bill
At 09:45 23/02/01 +0100, Susanne Weis wrote:
>RP,
>
>thank you very much for the answer. I forgot to mention that I did evaluate
>the batch files on their own in matlab, but there was no error with the files
>themselves.
>Does anybody have a suggestion what else might be the problem ?
>
>Susanne
>
>
>> you should first try evaluating the batch files on their own in matlab,
>> before
>> you run spm_bch with them. do this just by typing the name of the file in
>> matlab (without the .m). this may give you a better idea of why it is
>> failing
>> (e.g., it tells you what line of the code the problem is on).
>>
>> rp
>>
>> Susanne Weis wrote:
>>
>> > Dear all,
>> >
>> > whenever I try to run spm batch mode (using spm_bch('file_name') ) I get
>> the
>> > following error message:
>> >
>> > > Can't evaluate file_name of ´analyses´
>> >
>> > even I use the example files supplied with SPM99.
>> >
>> > Can anybody give me any hint what the problem might be ?
>> >
>> > Thanks
>> >
>> > Susanne
>> >
>> > --
>> > Dipl. Math. Susanne Weis
>> > Klinik für Epileptologie
>> > Universität Bonn
>> > Sigmund-Freud-Str. 25
>> > D-53105 Bonn
>> > Tel: +49-228-287-9347
>> > Fax: +49-228-287-6294
>> > email: [log in to unmask]
>> > http://www.epileptologie-bonn.de
>> >
>> > Sent through GMX FreeMail - http://www.gmx.net
>>
>> --
>> Russell A. Poldrack, Ph. D.
>> MGH-NMR Center
>> Building 149, 13th St.
>> Charlestown, MA 02129
>>
>> Phone: 617-726-4060
>> FAX: 617-726-7422
>> Email: [log in to unmask]
>> Web Page: http://www.nmr.mgh.harvard.edu/~poldrack
>>
>>
>
>--
>Dipl. Math. Susanne Weis
>Klinik für Epileptologie
>Universität Bonn
>Sigmund-Freud-Str. 25
>D-53105 Bonn
>Tel: +49-228-287-9347
>Fax: +49-228-287-6294
>email: [log in to unmask]
>http://www.epileptologie-bonn.de
>
>Sent through GMX FreeMail - http://www.gmx.net
>
|