Reinforcement Learning toolbox missing functions

1 回表示 (過去 30 日間)
Ahmad Slim
Ahmad Slim 2022 年 4 月 27 日
コメント済み: Ahmad Slim 2022 年 4 月 28 日
Hi,
I downloaded the Reinforcement learning toolbox but it has missing files; particularly 'rlDiscreteCategoricalActor' and 'rlValueFunction'.
I couldn't find them and MatLab is not recognizing them?
Any suggestions?
thanks

採用された回答

John D'Errico
John D'Errico 2022 年 4 月 27 日
編集済み: John D'Errico 2022 年 4 月 27 日
If you have a current version of that toolbox, it should have those tools.
which rlDiscreteCategoricalActor
/MATLAB/toolbox/rl/rl/rlDiscreteCategoricalActor.m
which rlValueFunction
/MATLAB/toolbox/rl/rl/rlValueFunction.m
However, it is possible that you are using an older release of MATLAB (you don't say), and not the current release. In that case, they were not in existence when your release was created. And in that case, they would not exist for you. Your solution then would be to upgrade MATLAB to the current release. Or you could write your own code to replicate the behavior of those functions. Unfortunately, nobody can just give you those codes.
  2 件のコメント
Steven Lord
Steven Lord 2022 年 4 月 27 日
The fact that both these functions were introduced in release R2022a (according to their documentation pages) supports John's hypothesis that Ahmad Slim is using an older release. If they'd been introduced 5 years ago IMO it would be less likely that you're using an older release than that.
Ahmad Slim
Ahmad Slim 2022 年 4 月 28 日
Thank you John. Much appreciated!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by