MATLAB Answers

Q Learning Agent Error: error occurred when invoking 'outputImpl' method of 'rl.simuli​nk.blocks.​AgentWrapp​er'

8 views (last 30 days)
Good afternoon everyone,
I am trying to implement a Q-Learning agent into a SimEvents Simulink environment.
I have created a critic network first using: rlQValueRepresentation
Then, I specified the options with rlQAgentOptions and created the agent rlQAgent.
But, when I try to run the simulink file with the agent connected, I get the following error:
And I don't know how to solve it since we cannot modify the file AgentWrapper and I am already creating the observations and actions using rlFiniteSetSpec.
Has anyone some idea of how to solve it?
Thank you in advance.

Answers (0)

Community Treasure Hunt

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

Start Hunting!