can not found function nanremove()
Hailu-UCAS opened this issue · 3 comments
Hailu-UCAS commented
when i am trying to run the example code, error occurred that
'Undefined function or variable 'nanremove'.
Error in mediation (line 270)
[nanvec, x, y, m, mediation_covariates] = nanremove(x, y, m, mediation_covariates);'
torwager commented
This means you are missing a folder containing the function nanremove.m on your Matlab path.
This is in CanlabCore/Misc_utilities/nanremove.m.
"Add with subfolders" to add all relevant folders to the path.
Best wishes,
Tor
… On Dec 22, 2020, at 4:31 AM, Hailu-UCAS ***@***.***> wrote:
when i am trying to run the example code, error occurred that
'Undefined function or variable 'nanremove'.
Error in mediation (line 270)
[nanvec, x, y, m, mediation_covariates] = nanremove(x, y, m, mediation_covariates);'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#16>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABPY7LGUNFEOBKMYDI2IZEDSWBRQ3ANCNFSM4VFMBQAQ>.
torwager commented
You also need the Canlab Core toolbox.
Best wishes,
Tor
… On Dec 22, 2020, at 4:31 AM, Hailu-UCAS ***@***.***> wrote:
when i am trying to run the example code, error occurred that
'Undefined function or variable 'nanremove'.
Error in mediation (line 270)
[nanvec, x, y, m, mediation_covariates] = nanremove(x, y, m, mediation_covariates);'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#16>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABPY7LGUNFEOBKMYDI2IZEDSWBRQ3ANCNFSM4VFMBQAQ>.
Hailu-UCAS commented
Thanks very much for your email.
Please forgive me for my late reply.
best wishes,
Hailu
Tor Wager ***@***.***> 于2020年12月23日周三 09:47写道:
… You also need the Canlab Core toolbox.
Best wishes,
Tor
> On Dec 22, 2020, at 4:31 AM, Hailu-UCAS ***@***.***>
wrote:
>
>
> when i am trying to run the example code, error occurred that
> 'Undefined function or variable 'nanremove'.
> Error in mediation (line 270)
> [nanvec, x, y, m, mediation_covariates] = nanremove(x, y, m,
mediation_covariates);'
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub <
#16>, or unsubscribe <
https://github.com/notifications/unsubscribe-auth/ABPY7LGUNFEOBKMYDI2IZEDSWBRQ3ANCNFSM4VFMBQAQ
>.
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#16 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASHOJVI5ZCNOA6MCMYP6U7TSWFD3PANCNFSM4VFMBQAQ>
.