Possible issue in pspm_cfg_run_glm_hp_rew #909
Replies: 3 comments
|
I changed the function to: ` % new LS edited: global settings f = strcmpi({settings.glm.modelspec}, model.modelspec); % basis function out = pspm_cfg_run_glm(job, model, options); Based on the similar functions but would appreciate confirmation if this is right. Thank you :) |
|
Thanks. I’ll take a look. Appreciate your help. |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I’m having an issue running the HP reward-conditioning GLM in PsPM 7.0.0.
I get the following error:
Dot indexing is not supported for variables of this type.
Error in pspm_cfg_run_glm_hp_rew (line 12)
model = params.model;
I’ve traced this to pspm_cfg_run_glm_hp_rew.m, which calls:
params = pspm_cfg_run_glm(job, def_filter);
model = params.model;
options = params.options;
However, in my PsPM 7.0.0 version, pspm_cfg_run_glm.m returns:
out = {model.modelfile};
rather than a structure containing params.model and params.options. So I think this is the issue?
Could anyone advise on how to fix it?
Many thanks!
All reactions