Signal Processing toolbox ver 6.22, Matlab ver 8.4 (R2014b)
Ältere Kommentare anzeigen
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
Antworten (2)
Star Strider
am 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 Kommentare
Kathy
am 9 Sep. 2015
Bearbeitet: Star Strider
am 9 Sep. 2015
Steven Lord
am 9 Sep. 2015
Sounds like your path may have been corrupted. Can you execute this command in your installation?
ls('C:\Program Files\MATLAB\R2014b\toolbox\shared\controllib\general')
If so, and if it shows zp2ss.m, you may want to open the path tool (Set Path in the Environment section of the Home tab in the Toolstrip) and restore the default path.
If that directory does NOT contain that file, your installation may be corrupt instead of just your path. You may need to reinstall Signal Processing Toolbox in that case.
Star Strider
am 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
am 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.
Image Analyst
am 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
Kategorien
Mehr zu Digital Filtering finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!