Ellip in R2011a

I recently updated my MATLAB from R14 to R2011a. I am running the identical code, but I am getting the following error. I am an experience MATLAB user, but I will admit to being a little rusty. Can someone point me in the right direction?
Here is what I put in: [b, a] = ellip(2, 0.5, 20, 0.5, 'low')
Here is the error: ??? Undefined function or method 'eml_assert_all_constant' for input arguments of type 'double'.
Error in ==> ellipap at 8 eml_assert_all_constant(varargin{:});
Error in ==> ellip at 76 [z,p,k] = ellipap(n, Rp, Rs);
As I said this is code I have used in the past, I did hard code in the numbers to make sure that my inputs were okay, but I got the same error.
Anyone else had the same error?
Thank you in advance for any help.

 Accepted Answer

Titus Edelhofer
Titus Edelhofer on 23 May 2011
Hi Susan,
my guess: ellipap is some other function then ellip expects.
which ellipap
gives me C:\MATLAB\R2011a\toolbox\signal\signal\ellipap.m
Does it look somewhat similar for you?
Titus

1 Comment

Susan
Susan on 23 May 2011
Titus,
Thank you so much. You indeed pointed me to the answer. Somehow when my MATLAB upgraded it was still pointing to some of the old files from the other version. I have now fixed that. Ellip now appears to be working.
-Susan

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!