matlab switch case 使用。
12 ビュー (過去 30 日間)
古いコメントを表示
採用された回答
vswsfkrn
2023 年 5 月 25 日
f = input( '输入第一个字母(大写字符)', 's' )
switch f
case { 'S' }
disp('Sunday')
end
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!