zhoupc / OASIS_matlab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error

lihanyan1990 opened this issue · comments

Hi,

I run the setup.m first and it went well.
And then I use the example you gave:

[c, s, options] = deconvolveCa(y, 'foopsi', 'ar1', 'smin', -3, 'optimize_pars', true, 'optimize_b', true)
Error:File: foopsi_oasisAR1.m Line: 155 Column: 21
Identifier 'h' is not a function or a shared variable. To share 'h' with nested function, initialize it in the current scope. For more
information, see Sharing Variables Between Parent and Nested Functions.

Error in deconvolveCa (line 120)
[c, s, options.b, options.pars] = foopsi_oasisAR1(y-b0, options.pars, options.lambda, ...

This error pop out in other examples too.
Please help.

Thank you so much
Hanyan