This is the Bayesopt example in it's help,but I can't run this in 2019b

1 view (last 30 days)
It's warning me that the parameter in bayesopt is too much,but I can run this example in the 2018b.How can I solve this problem?I want using the 2019b.
  2 Comments
weikang zhao
weikang zhao on 4 Mar 2021
bayesopt function was introduced in R2016b, and the example works well in my R2020b. You can try to check the change log of R2019b and the function doc of bayesopt function in R2019b. In my experience, this should be a problem of your writing, not a problem of version.
Chao Huang
Chao Huang on 4 Mar 2021
Thanks for your answer,but the same code using this bayesopt function as this example,I haven't change anything in this example.And I have tried others example of this function.The version 2019b still runing fail with the error parameters are too much.
I think is not the problem of my writing.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!