Undefined function or method 'findjobj' for input arguments of type 'double'. MATLAB<>
This question already has an answer here:
Type which findjobj in your command window. It will likely return "'findjobj' not found." The function findjobj is not a built-in function. It is user-contributed function available on the Mathworks File Exchange: FindJObj - find java handles of Matlab graphic objects.