Can use uihtml in GUI component such as text or panel ??

1 ビュー (過去 30 日間)
galaxy
galaxy 2020 年 3 月 18 日
回答済み: galaxy 2020 年 3 月 19 日
I want to add HTML code in GUI.
But as I know, uihtml can use with figure only.
Do you know other way?
  2 件のコメント
galaxy
galaxy 2020 年 3 月 18 日
Thank you for your feedback.
Does uigridlayout can use in GUI ??? I think it only use in App, right?

サインインしてコメントする。

採用された回答

galaxy
galaxy 2020 年 3 月 19 日
I investigated, and we can use java as following
hfig = handles.figure1; % existed figure in GUI
je = javax.swing.JEditorPane('text/html', HTML_str);
jp = javax.swing.JScrollPane(je);
[hcomponent, hcontainer] = javacomponent(jp, [], handles.figure1.Children); % Panel childrent in existed GUI
set(hcontainer, 'units', 'normalized', 'position', [0,0,1,1]);
I ran and it was OK.
Thank you

その他の回答 (0 件)

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by