Error After Running Program
조회 수: 10 (최근 30일)
이전 댓글 표시
Hello,
Whenever I'm trying to run a following program on MATLAB6.5, I'm getting the following error
_*??? Undefined function or variable 'step'.
Error in ==> D:\Simulation Lab Softwares\Softwares\abc.m On line 4 ==> step (num,den)*_
-----------PROGRAM----------------
%unit step response
num= [2 25]
den= [1 4 25]
step (num,den)
답변 (2개)
Image Analyst
2013년 3월 22일
You do not have an array called step, or a function defined called step, either in that m-file, or any other step.m file on your search path.
댓글 수: 0
Jason Ross
2013년 3월 22일
There is a "step" function that's part of the Control System Toolbox for that release. If that toolbox isn't installed, you would get this error.
It's also possible that you are missing a file that your program needed to run where someone had defined "step".
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!