Borrar filtros
Borrar filtros

How to output the multiple line in dialogue box app designer

2 visualizaciones (últimos 30 días)
MakM
MakM el 13 de Abr. de 2022
Respondida: Voss el 13 de Abr. de 2022
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.

Respuesta aceptada

Voss
Voss el 13 de Abr. de 2022
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.

Más respuestas (0)

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by