Reinforcement Learning toolbox missing functions

1 次查看(过去 30 天)
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction 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