Error Invalid Simulink object name: Rl_Komplet/RL Agent

Hi,
I try to swing up the rotary pendulum with reinforcement toolbox.
The Agent was train without Problem but now it show this Error:
Error using RL_Modell_nl (line 43)
Invalid Simulink object name: Rl_Komplet/RL Agent
Caused by:
Error using rl.env.SimulinkEnvWithAgent (line 108)
No block called 'RL Agent' could be found.
Displaying stack trace:
Error using rl.env.SimulinkEnvWithAgent>SimulinkEnvWithAgent.SimulinkEnvWithAgent (line 108)
• In rl.env.SimulinkEnvWithAgent>SimulinkEnvWithAgent.SimulinkEnvWithAgent (line 108)
• In rlSimulinkEnv (line 39)
• In RL_Modell_nl (line 43)
Is someone to know why?

Réponses (1)

Jakub Filipowicz
Jakub Filipowicz le 16 Déc 2020

0 votes

I had the same problem, removing undercourse sign ( _ ) form model name helped.

Question posée :

le 26 Mar 2020

Commenté :

le 22 Avr 2021

Community Treasure Hunt

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

Start Hunting!

Translated by