I have a matlab code which is gui based. I am using this code in Matlab 2019b for the first time. The code works in 2017a. below are the errors I am getting:
Error using handle.handle/get
Invalid or deleted object.
Error in centerfig>localPlaceHGFig (line 95)
f1u = get(F1,'Units');
Error in centerfig (line 27)
xy = localPlaceHGFig(F1,F2);
Error in step0 (line 53)
'Position',centerfig([0.330078 0.391927 0.341797 0.13875])...
What does these mean? the code worked fine in 2017a version. I must also say I am now running this code on my laptop instead of a desktop computer. Is the 'Position' an issue?