The second input argument "agentBlk" must be a block path to a valid "RL Agent" block.
2 ビュー (過去 30 日間)
古いコメントを表示
When I try to define environment for walking robot, I receive this error:
>> SACAgentForWalkingRobot
Error using rlSimulinkEnv (line 113)
The second input argument "agentBlk" must be a block path to a valid "RL Agent" block.
Error in SACAgentForWalkingRobot (line 16)
env = rlSimulinkEnv(mdl, blk, observationInfo, actionInfo);
This error is inside rlSimulinkEnv and it cannot validate RL Agent blocks.
I try to change Walking Robot -- DDPG Agent Training Script (2D) to SAC Agent Training.
1 件のコメント
Ayush Aniket
2024 年 7 月 15 日
Hi mustafa,
The error indicates that the input to the agentBlocks argument (path to the RL Agent block in the model) in the rlSimulinkEnv function is not correct. Can you share the code and model you are using?
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Statics and Dynamics についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!