How to make it finite?

7 views (last 30 days)
ryunosuke tazawa
ryunosuke tazawa on 8 Aug 2021
Commented: Gargi Patil on 13 Aug 2021
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 Comments
ryunosuke tazawa
ryunosuke tazawa on 13 Aug 2021
Sorry for the late reply. This error has been fixed. However, the result of learning is not good.
Gargi Patil
Gargi Patil on 13 Aug 2021
Hi, a new question can be created for further queries about the results of the learning.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!