Reinforcement Learning toolbox missing functions

1 visualización (últimos 30 días)
Ahmad Slim
Ahmad Slim el 27 de Abr. de 2022
Comentada: Ahmad Slim el 28 de Abr. de 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

Respuesta aceptada

John D'Errico
John D'Errico el 27 de Abr. de 2022
Editada: John D'Errico el 27 de Abr. de 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 comentarios
Steven Lord
Steven Lord el 27 de Abr. de 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 el 28 de Abr. de 2022
Thank you John. Much appreciated!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by