Function diagnostics for hmcsampler issue

1 view (last 30 days)
Giorgos Minas
Giorgos Minas on 17 Jan 2024
Answered: Muskan on 23 Jan 2024
I want to use the diagnostics function https://uk.mathworks.com/help/stats/hamiltoniansampler.diagnostics.html but I get the error
"Unrecognized function or variable 'diagnostics'."
Does anyone know what's the reason and/or what needs to be done to fix this?

Answers (1)

Muskan
Muskan on 23 Jan 2024
Hi Giorgos,
You can make sure that all the required toolboxes are installed correctely by running this command in your MATLAB command window:
>> ver
You can further refer to the following answer to help resolve the error:
I hope this helps!

Community Treasure Hunt

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

Start Hunting!