Dear Kambiz,
(1) weird. As Vladimir suggested, check your Matlab and SPM
installation. Also have a look at your Matlab path and remove any
directory that does not really need to be there.
(2) SPM attempted behaviour is to open new figures in the screen your
mouse is currently in. If you want to force SPM to always use the same
screen, you can edit spm.m around line 659 so that the variable w
contains the screen number (ie 1 or 2 according to which monitor your
want to use and which one is primary or secondary).
All the best,
Guillaume.
Kambiz Tavabi wrote:
> Dear SPMers,
> I have two light hearted (that is naive) issues I'd like to get your input on:
> (1) while attempting to run the attached script I get the following error
>>> Error in ==> spm at 286
>>> Modalities = {'PET','FMRI','EEG'};
>>> ??? Output argument "varargout" (and maybe others) not assigned during call to
>>> "/mnt/meglab_san/tavabik/matlab/spm8/spm.m>spm".
> I cannot figure this out. I can successfully execute all the commands in my
> little script at the terminal, but calling/running the script produces the
> error. I have essentially put the script together using the history
> generated by spm, and have tried it with and without the initial command
> "spm('defaults','eeg') to no avail.
> (2) A completely separate matter; is there any way to specify the SPM
> graphics window to open in the same screen matlab is running in on a dual
> screen linux machine running Cent OS5?
>
> Thank you
> Kambiz
--
Guillaume Flandin, PhD
Wellcome Trust Centre for Neuroimaging
University College London
12 Queen Square
London WC1N 3BG
|