MATLAB: Display LAtex Equation in gui static text

guiMATLABstatic text

Hello all,
i wanna display some equations on static text , i just followed https://in.mathworks.com/matlabcentral/answers/213123-how-to-insert-latex-equation-into-static-text-plot-in-gui#answer_176422. to test its running . i have attached the code,
but when i try to generate same output using uicontrol its not working showing' intrepreter properties is not available'
this is my code
h41 = uicontrol(...
'Parent',Test,...
'FontUnits',get(0,'defaultuicontrolFontUnits'),...
'Units','normalized',...
'HorizontalAlignment','left',...
'String','TEST_{Equation}',...
'Style','text',...
'interpreter','latex',...
'Position',[1 0 2 1],...
'Children',[],...
'Tag','text2');
thanks in advance

Best Answer

This is not possible .
uicontrol style text and edit cannot have any kind of interpretation at all, with the exception that the | character might mark the end of a row.
Some of the other kind of uicontrol will render fairly old HTML.
None of the uicontrol support latex or tex.