Undefined function 'eml_lib_assert' for input arguments of type 'char'

2 views (last 30 days)
Hi Everyone,
I have a code that worked fine on an older version of Matlab. However I am having an error while using the resample function as given below, on a newer version. The resample function works fine if run outside the code which makes me think that the directories are not setup correctly, but I'm clueless where to begin. The eml_lib_assert function gets called in "resample", but I could not find a way to access that function. I have three arguments in resample - Signal to be resampled, P and Q. All inputs are of type double. I do not understand why arguments are not enough, when running the function inside my code, while it works fine if run separately.
Error in resample (line 12) eml_lib_assert(nargin>=3, 'signal:resample:notEnoughInputs', 'Not enough input arguments.');
Here is the relevant version info
MATLAB Version 8.4.0.150421 (R2014b) Operating System: Microsoft Windows 7 Enterprise Version 6.1 (Build 7601: Service Pack 1) Java VM Version: Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot™ 64-Bit Server VM mixed mode ------------------------------------------------------------------------------------- MATLAB Version 8.4 (R2014b) Signal Processing Toolbox Version 6.22 (R2014b) Signal Processing Toolbox Version 6.22 (R2014b)
I would really appreciate if I could get some pointers on troubleshooting this. Thanks.
  2 Comments
Dasharath Gulvady
Dasharath Gulvady on 12 May 2015
In which version of MATLAB did it work fine? Can you show your usage of "resample" function with input arguments? If possible, come up with the minimum lines of code with which you can show the issue.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!