Error Invalid Simulink object name: Rl_Komplet/RL Agent

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

Answers (1)

Jakub Filipowicz
Jakub Filipowicz on 16 Dec 2020
I had the same problem, removing undercourse sign ( _ ) form model name helped.

Community Treasure Hunt

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

Start Hunting!