How to make it finite?
이전 댓글 표시
I want to know the way to fix the erorr.
The error masage said that make the value finite.
There are four input state variables.
How can I fix it?
function set.State(this,state)
validateattributes(state,{'numeric'},{'finite','real','vector','numel',4},'','State');
this.State = double(state(:));
notifyEnvUpdated(this);
end
댓글 수: 5
Gargi Patil
2021년 8월 11일
Hi! Can you share the code for state as it is difficult to determine the cause of the error without knowing its values? You can use the function isfinite to find out which value(s) in state is(are) not finite and fix it accordingly.
ryunosuke tazawa
2021년 8월 12일
Gargi Patil
2021년 8월 12일
Hi! Can you kindly share the workflow or the parameter values that throw this error?
ryunosuke tazawa
2021년 8월 13일
Gargi Patil
2021년 8월 13일
Hi, a new question can be created for further queries about the results of the learning.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Reinforcement Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
