Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error #6

Open
lihanyan1990 opened this issue Jan 16, 2020 · 0 comments
Open

error #6

lihanyan1990 opened this issue Jan 16, 2020 · 0 comments

Comments

@lihanyan1990
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant