フィルターのクリア

Error After Running Program

1 回表示 (過去 30 日間)
Muhammad
Muhammad 2013 年 3 月 22 日
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)
  1 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2013 年 3 月 22 日
Have you a Control System toolbox?

サインインしてコメントする。

回答 (2 件)

Image Analyst
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.

Jason Ross
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".

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by