필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

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

조회 수: 2 (최근 30일)
Batuhan Yildiz
Batuhan Yildiz 2022년 10월 23일
마감: John D'Errico 2022년 10월 23일
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

답변 (0개)

이 질문은 마감되었습니다.

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by