注册 登录
编程论坛 Matlab

初学请教!attempt to execute SCRIPT step as a funtion

apegasus 发布于 2006-09-07 11:07, 1186 次点击
运行下面的程序总是出错:

num=(2 1);
den=(1 6 4);
step(num,den);
title('stpt response')


运行时总是报错:
attempt to execute SCRIPT step as a funtion

程序中好象没错啊?是不是设置问题?
1 回复
#2
zhangenter2006-09-08 22:46
在命令窗口下运行下 which step
如果找到的结果不是matlab\toolbox\control\control\step.m
把找到的其他step删掉
1