質問

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