Hi Volkmar,
So is there another way in the IO functions to get access to the PPI.ppi the
PPI.P and the PPI.Y to put them as regressors in my model?
Thanks
Clas
-----Ursprungligt meddelande-----
Från: SPM (Statistical Parametric Mapping) [mailto:[log in to unmask]] För
Volkmar Glauche
Skickat: den 2 november 2009 06:51
Till: [log in to unmask]
Ämne: Re: [SPM] SPM8 basicIO batch question: How to load vectors from .mat
file
Hi Clas,
Darren is right - "Load variable from .mat file" is a simple wrapper
around MATLAB's load function. As with this command, one can load the
PPI variable as a whole, but not specific parts of it.
Volkmar
Zitat von Darren Gitelman <[log in to unmask]>:
> Clas:
>
> I don't think it is so simple.
>
> Perhaps I am mistaken, but the load variable function in spm8 appears
unable
> to load, subfields of structure arrays. Perhaps Volkmar could comment on
> this.
>
> Darren Gitelman, MD
>
>
> On Fri, Oct 30, 2009 at 3:24 PM, Clas Linnman
<[log in to unmask]>wrote:
>
>> Dear all,
>>
>>
>>
>> I have a hopefully simple question:
>>
>>
>>
>> I want to load a PPI struct (PPI_Hipp.mat) from a directory and use the
>> PPI.ppi vector within the PPI struct as a regressor in my model.
>>
>> I use the basicIO function "load variables from .mat file" and select my
>> PPI_Hipp.mat. Then I select specified variables
>>
>> variables to load
>>
>> Variable name PPI.ppi
>>
>>
>>
>> But get the error message that PPI.ppi is not a valid MATLAB variable
>>
>>
>>
>> If I load all variables, which works, I can not access the specific
PPI.ppi
>> vector via dependency to enter into my model.
>>
>>
>>
>> Any ideas where I am going wrong?
>>
>>
>>
>> Thanks
>>
>> Clas
>>
>>
>>
>>
>>
>
|