필터 지우기
필터 지우기

How to add text or string in App Designer

조회 수: 10 (최근 30일)
Andre Munoz
Andre Munoz 2017년 10월 4일
댓글: Cam Salzberger 2017년 10월 6일
Hi
I am creating an app in App Designer that perform some calculations. During the process, I want to display text somewhere in the app from a string in the main code. I am aware of uilabel, but this creates a new window instead of displaying the text in the app window.
Please can you help me?

답변 (1개)

Rik
Rik 2017년 10월 4일
It sounds like uicontrol('Style','text') will do the trick.
  댓글 수: 4
Andre Munoz
Andre Munoz 2017년 10월 4일
Yes, I have called uilabel while specifying the parent. No luck.
Cam Salzberger
Cam Salzberger 2017년 10월 6일
Hello Andre,
I answered a similar question here, and didn't experience any issues. Can you provide some details on what didn't work? Did you get any error messages?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by