Reinforcement Learning toolbox missing functions

1 vue (au cours des 30 derniers jours)
Ahmad Slim
Ahmad Slim le 27 Avr 2022
Commenté : Ahmad Slim le 28 Avr 2022
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

Réponse acceptée

John D'Errico
John D'Errico le 27 Avr 2022
Modifié(e) : John D'Errico le 27 Avr 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 commentaires
Steven Lord
Steven Lord le 27 Avr 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.
Ahmad Slim
Ahmad Slim le 28 Avr 2022
Thank you John. Much appreciated!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by