Dialog box with variable and button
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I would like to create a dialog box which will have variables in it and a button: for example:
Today you have : 5 pounds (5 is the variable) Buy food? (Buy food is the button)
Thank you in advance
1 comentario
Jan
el 14 de Feb. de 2013
What is your question? What have you tried so far, which problems occurred and which kind of help do you need?
Respuesta aceptada
Sean de Wolski
el 14 de Feb. de 2013
x = 5;
questdlg(sprintf('You have %dlb of food?',x),'Hungry Yet?','Buy Food','Starve Longer','Buy Food')
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Thermal Analysis en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!