当我输入超过3个字符时,我的系统会给我a/m错误
a = input('Please type f0 or f1: ' , 's'); if a == 'f0'; Run_f0 elseif a == 'f1'; Run_f1 else disp('Please enter f0 or f1 only'); end
我该怎么做才能解决这个错误?提前致谢
matlab
matlab ×1