switch matlab函数,Switch - MATLAB & Simulink - MathWorks 中国
C Constructswitch (u1){case 2:y1 = u2;break;case 3:u3;break;default:y1 = u4;break;}Modeling Pattern for Switch: Switch Case blockOne method to create a switch statement is to use a Switch Case block f...