문제

I see that code

plot(1:5); 
jFrame = get(gcf,'JavaFrame');

it works and returns some result.

What does it return? What is background of this functional? Is it documented? I can't find JavaFrame property in the list of figure properties. How can I find more similar functions?

도움이 되었습니까?

해결책

It's a hidden property of the figure handle, and it's undocumented. According to Yair Altman's blog "Undocumented Matlab", it enables access to the GUI’s underlying Java peer object.

다른 팁

It's an undocumented hidden property of the figure that returns a handle to the underlying JFrame of the MATLAB figure window, which is implemented in Java. There are lots of things that you can do with it - to find out about them, read some of the articles on Yair Altman's blog "Undocumented MATLAB".

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top