App Designer: Update Text Area Value with parameter change
조회 수: 68 (최근 30일)
이전 댓글 표시
In MATLAB App Designer, I want to change/update the value in the text area object with some parameter change? Could you explain how can I achieve this task?
댓글 수: 0
답변 (2개)
Cris LaPierre
2022년 3월 14일
Now just figure out what action you want to trigger the change, and add the code to that callback function.
xiaokai an
2022년 6월 11일
My answer may help you.
Pass 'app' as a parameter into the m file containing the logic program, and then use it in the m file
app. TextArea. Value = num2str(666666);
Such code rewrites the value of text.
댓글 수: 1
xiaokai an
2022년 6월 11일
When the program runs too fast, it may not display normally. You need to add the following pause code near the rewritten code
pause(1);
참고 항목
카테고리
Help Center 및 File 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!