Unrecognized function or variable 'fHG1Client'

4 views (last 30 days)
Hi community,
I am using a code that was written for Matlab 2014 or earlier. I am getting this error "Unrecognized function or variable 'fHG1Client' whenever I run the code. I am sure there is no easy way to convert the code direclty to newever version of matlab but i would like to ask the community if there is a starting point somewhere where I can try ot fix the bug. Following is the piece of code:
jWindow1 = [];
while isempty(jWindow1)
pause(0.001)
jFigPeer = get(handle(gcf),'JavaFrame');
jWindow1 = jFigPeer.fHG1Client.getWindow;
end

Accepted Answer

Walter Roberson
Walter Roberson on 10 Aug 2021

More Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!