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 次查看(过去 30 天)
显示 更早的评论
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 个评论
Sanju
2024-4-22
can you please share the code for better understanding and reproduction of the issue.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Classical Control Design 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!