把a,b加起来,比如 a*100+b,a在百位,b在个位switch(a*100+b){case 0: ......Acase 101: ......B}
x=[a b];switch x case [0 0] A; case [1 1] B;end