필터 지우기
필터 지우기

How to output the multiple line in dialogue box app designer

조회 수: 2 (최근 30일)
MakM
MakM 2022년 4월 13일
답변: Voss 2022년 4월 13일
I have multiple lines, I want to print in the dialogue box.
fprintf('=====================================================================\n')
fprintf('User: ', app.sstr, app.pat);
fprintf('event: ', app.gm_id);
fprintf('\n')
I want to print this output on dialogue box using msgbox or any other related function in app designer MATLAB.

채택된 답변

Voss
Voss 2022년 4월 13일
msgbox(sprintf([ ...
'===================================' ...
'==================================\n' ...
'User: %s %s event: %s\n'], ...
app.sstr, app.pat, app.gm_id));
Each %s may be changed according to the class of app.sstr, app.pat, app.gm_id.

추가 답변 (0개)

카테고리

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