Can I add display on MATLAB app interface which can showcase error or any statements there itself ?

조회 수: 1 (최근 30일)
Hi,
Can I add display on MATLAB app interface which can showcase error or any statements there itself ?
instead of poping it up in diffeent error window ?
Regards,

답변 (1개)

Walter Roberson
Walter Roberson 2021년 9월 16일
Sure. As long as you have code that detects the error and updates the display.
However, if your question is about somehow "redirecting" any error that would normally lead to a pop-up window, such as errdlg(), then that would be more difficult, requiring that you wrote code to "shadow" all of the functions that produce pop-ups.
  댓글 수: 2
Kaustubh hike
Kaustubh hike 2021년 9월 16일
Thanks , but which Compnent should I use from AppDesginer 'Component Library' ?
Walter Roberson
Walter Roberson 2021년 9월 16일
text box, possibly scrollable. Or perhaps a uitable.
Anything that can display text.
Note that there is nothing in MATLAB that will automatically intercept all pop-up and redirect to your display area. You will be needing to reprogram the places that ask for pop-up to instead display in the desired location.

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

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by