Unrecognized function or variable 'fHG1Client'

4 Ansichten (letzte 30 Tage)
Tenzin Kunkyab
Tenzin Kunkyab am 10 Aug. 2021
Beantwortet: Walter Roberson am 10 Aug. 2021
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

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 10 Aug. 2021

Weitere Antworten (0)

Kategorien

Mehr zu Environment and Settings finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by