Try:
pmod(1) = struct('name',{''},'param',{[]},'poly',{''})
() instad of {} in pmod, or something linke:
pmod(1).name{1}='firstname';
pmod(1).poly{1}=1;
pmod(1).param{1}=X
Best
mw
W dniu 2017-01-23 o 10:53, Ferdi van de Kamp pisze:
> "Can not initialise pmod value(s): job is not a struct."
>
> I have encountered the same problem setting up parametric modulators. It appears for each condition except when left empty, which it simply ignores:
>
> pmod{1} = struct('name',{''},'param',{[]},'poly',{''})
>
> pmod is a cell array containing the parametric modulators, but pmod{#} is a struct.
>
> spm jobmanager will continue to run to set up the design, but it leaves out the parametric modulators entirely.
>
> Hopefully someone is able to figure out what I'm doing wrong.
>
> Thanks
--
Marek Wypych PhD
Laboratory of Brain Imaging (LOBI)
Neurobiology Center
Nencki Institute of Experimental Biology
Pasteur 3, 02-093 Warsaw, Poland
Tel.: +48 22 5892 550
http://lobi.nencki.gov.pl/
|