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.

 채택된 답변

Titus Edelhofer
Titus Edelhofer 2011년 5월 23일

0 개 추천

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

Susan
Susan 2011년 5월 23일
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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by