Reinforcement Learning toolbox missing functions

2 views (last 30 days)
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

Accepted Answer

John D'Errico
John D'Errico on 27 Apr 2022
Edited: John D'Errico on 27 Apr 2022
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 Comments
Steven Lord
Steven Lord on 27 Apr 2022
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.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!