Signal Processing toolbox ver 6.22, Matlab ver 8.4 (R2014b)

2 views (last 30 days)
I have a signal processing toolbox (ver 6.22) and am having problems running a script for butterworth filter (one that I have used many times without incident). I keep getting the error message: "Undefined function 'zp2ss' for input arguments of type 'double'", and, "Error in butter (line 97)[a,b,c,d] = zp2ss(z,p,k)". Not sure how to resolve this.
Thank you, Kathy Thomas

Answers (2)

Star Strider
Star Strider on 9 Sep 2015
Probably the first step would be to type in the Command Window:
which zp2ss -all
and possibly also:
which butter -all
and see what returns.
Do your other Signal Processing Toolbox functions work?
  4 Comments
Star Strider
Star Strider on 9 Sep 2015
There’s nothing wrong with the path or toolboxcache or butter wouldn’t appear as it did.
You may have to reinstall the Signal Processing Toolbox on the machine that’s throwing the error. MathWorks Tech Support might have other approaches, so you might want to contact them, but they’ll likely give you the same solution.
Steven Lord
Steven Lord on 10 Sep 2015
Star Strider, the toolbox/signal/signal directory (where BUTTER lives) may be on the path while toolbox/shared/controllib (where ZP2SS lives) is not.

Sign in to comment.


Image Analyst
Image Analyst on 10 Sep 2015
Try
>> restoredefaultpath
and try again. If that doesn't work, uninstall and reinstall. That's what I'd do. Or you can type
>> path
and see if you see this: C:\Program Files\MATLAB\R2015b\toolbox\shared\controllib\general

Community Treasure Hunt

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

Start Hunting!