请教各位大侠: <BR>当调用MATLAB FCN程序时,给MATLAB FCN编程如下:<BR>第一次调用para4时<BR>function outf1=para4(yp)<BR>global y1 y2 u <BR>y1=1<BR>y2=y1^2+2<BR>u=y2-10<BR>y1=y2<BR>yp1=yp<BR>outf1=u<BR>%y1=1<BR>希望第二次调用para4时,程序变为:<BR>function outf1=para4(yp)<BR>global y1 y2 u <BR>y1=3<BR>y2=y1^2+2<BR>u=y2-10<BR>y1=y2<BR>yp1=yp<BR>outf1=u<BR>从而达到循环调用的目的。<BR>请问能否用程序实现,或者可否改动模块实现???<BR>模块图为:M文件两头接个被控对象,一端为输出u,一端为输入yp<BR>THANK YOU VERY MUCH!!!