Function diagnostics for hmcsampler issue

2 ビュー (過去 30 日間)
Giorgos Minas
Giorgos Minas 2024 年 1 月 17 日
回答済み: Muskan 2024 年 1 月 23 日
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?
  1 件のコメント
Shivam
Shivam 2024 年 1 月 17 日
Hi,
Could you try executing 'which diagnostics' on command terminal? Also, you can refer to this answer: https://www.mathworks.com/matlabcentral/answers/96005-why-do-i-get-the-error-unrecognized-function-or-variable
Thanks.

サインインしてコメントする。

回答 (1 件)

Muskan
Muskan 2024 年 1 月 23 日
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!

カテゴリ

Help Center および File ExchangeWrite Unit Tests についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by