执行呀当括号里的条件不成立的时候,执行后面的程序。 i=1;>> if not(i==0); a=1;else a=0;end>> aa = 1你可以在matlab里试试就知道了。 if not(0);a=1;elsea=0;end>> aa = 1括号里是0,就是所有的非零都能执行。。。