How to write equations in gui edit text box?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello
Can anyone tell me how to write an equation with superscript, symbols etc. to a gui edit text box.
Writing something like this doesn't work:
set(handles.box1,'String','y=1+x^2')
I know that there is a function called uibutton which can handle this type of issue for a button. Has anyone written something that works for edit text boxes?
Thanks in advance.
-Tom
댓글 수: 2
David Sanchez
2014년 6월 6일
Could you paste the error you get. I do right that what you say you can not do with no problems at all.
채택된 답변
per isakson
2014년 6월 7일
The short answer is: It cannot be done! That's why Douglas Schwarz created uibutton: GUI pushbuttons with better labels, which I guess is the function you refer to.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Entering Commands에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!