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

Unrecognized function or variable 'genpathKPM'. #85

Open
musiched99 opened this issue Sep 13, 2021 · 3 comments
Open

Unrecognized function or variable 'genpathKPM'. #85

musiched99 opened this issue Sep 13, 2021 · 3 comments

Comments

@musiched99
Copy link

Hi. Am trying to install this toolbox by following the instructions given here: https://github.com/bayesnet/bnt/wiki/HowToInstall.

However, after I change the directory and proceed to run the command >> addpath(genpathKPM(pwd)), I get the error:

Unrecognized function or variable 'genpathKPM'.

Any ideas as to what might be causing this ? My MATLAB version is 9.10.0.1602886 (R2021a). Thanks !

@WANGXin1205
Copy link
Contributor

Hi
use ' addpath(genpath('path')) ' , path like '/Applications/Matlab_R2021a.app/toolbox/bnt' and 'savepath' after 'addpath'
your need add all toolbox not a function
good luck!

@musiched99
Copy link
Author

Hi there

Many thanks for your response.

To be completely honest, not sure if I managed or not with installing the toolbox. I ran the commands shown below in the attachment and got this output when I ran >> test_BNT:

Screenshot 2021-09-16 at 23 56 30

Appreciate the help you've given till now and thanks in advance for any extra help :)

@WANGXin1205
Copy link
Contributor

WANGXin1205 commented Sep 17, 2021

I think bnt was already installed, the 'discrete1' may have mistake.
I don't how it happen.In my bnt toolbox ,I can't find this problem.
image

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

2 participants