i am trying tune PID using reinforcement learning for 2 inputs and 2 output system.. but my code throws error. i used the code from mathworks for SISO-PID using reinforcement
1 view (last 30 days)
Show older comments
i am not sure in how to define the num of observations and actions for multi agent system
Error using rlSimulinkEnv>localValidateIOSpecs
Invalid size or type for observation specification.
Error in rlSimulinkEnv (line 90)
localValidateIOSpecs(numAgents,observationInfo,actionInfo);
Error in rlcodemimo2222>localCreatePIDEnv (line 148)
env = rlSimulinkEnv(mdl,blks,obsInfo,actInfo);
Error in rlcodemimo2222 (line 10)
[env,obsInfo,actInfo] = localCreatePIDEnv(mdl);
1 Comment
Sanju
on 22 Apr 2024
can you please share the code for better understanding and reproduction of the issue.
Answers (0)
See Also
Categories
Find more on Classical Control Design in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!