RL agent error using simulink
12 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
saeed ahmed mohamed
le 17 Sep 2020
Commenté : anbang zhai
le 30 Avr 2021
i got this error anyone has idea what is the problem ?
- 'C:\Program Files\MATLAB\R2020a\toolbox\rl\rl\simulink\+rl\+simulink\+blocks\AgentWrapper.m' at line 154
- 'C:\Program Files\MATLAB\R2020a\toolbox\rl\rl\simulink\+rl\+simulink\+blocks\AgentWrapper.m' at line 203
- 'C:\Program Files\MATLAB\R2020a\toolbox\rl\rl\simulink\+rl\+simulink\+blocks\AgentWrapper.m' at line 258
- 'C:\Program Files\MATLAB\R2020a\toolbox\rl\rl\simulink\+rl\+simulink\+blocks\agentmaskinit.m' at line 11'.
- Undefined function 'getActionInfo' for input arguments of type 'double'.
this occurs when i run simulation on the simulink using RLagent and i create envirnoment (Model Workspace)
1 commentaire
anbang zhai
le 30 Avr 2021
老哥,你问题解决了吗?(如果解决了,怎么弄的?)
如果没解决,你的matlab版本是不是低了,换成2021a试一下,我在2021a中可以成功运行这个车-杆仿真了。
Réponse acceptée
Emmanouil Tzorakoleftherakis
le 18 Sep 2020
Looks like when you call getActionInfo, instead of passing an environment or agent object as an argument, you are passing a double.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!