While validating my rlEnvironment: I am getting the following error?
1 次查看(过去 30 天)
显示 更早的评论
I am unsure how to test it to see where I am getting this error. Any help would be greatly appreciated
Error in Environment (line 50)
env = rlFunctionEnv(ObsInfo,ActionInfo,'myStepFunction','myResetFunction');
Caused by:
Unable to perform assignment because the left and right sides have a different number of elements.
2 个评论
Emmanouil Tzorakoleftherakis
2020-7-22
If you share your environment it will be easier to help, but it looks like there is a size mismatch somewhere. Try calling your step and reset functions manually and see if inputs/outputs make sense.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!