Hey Galaxy,
The error you are getting is expected, the “setCheckResultStatus” method can only be used inside of a “check callback” function as the error suggests.
Here is a link to the “setCallbackFcn” function, where the above can be used:
Also, assuming you are trying to create your own custom “Model Advisor” check, you can refer the following documentation for a detailed example:
Hope it helps.