Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Having a problem with getting the Command Window to respond to my choices

1 visualización (últimos 30 días)
Batuhan Yildiz
Batuhan Yildiz el 23 de Oct. de 2022
Cerrada: John D'Errico el 23 de Oct. de 2022
answer = questdlg('Lets order some classic American food', ...
'Wednesday 8:30 ', ...
"Clam chowder","fried catfish","chicken fried steak","chicken fried steak");
if answer
elseif "Clam chowder"
disp([answer ' Smooth taste.'])
elseif "fried catfish"
disp([answer ' very yummy.'])
else "chicken fried steak";
disp([answer 'thats a battered heart attack.'])
end
Trying to get the command window to say 'Smooth taste' when I chose Clam chowder. Same situation with my other two choices

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by