With some searching I found that this is a known bug in 2014a which was fixed in 2014b. I applied the patch located here: http://www.mathworks.com/support/bugreports/1059029 and it seems to work now.
Undefined function 'butter' for input arguments of type 'double'
19 views (last 30 days)
Show older comments
I have a .net assembly DLL that is built in matlab which is used in a vb.net program. I'm currently using matlab 2010b 32 bit and everything works fine. I'm running into a problem migrating to 2014a 32 bit however. With the 2014a version i get an error with the apparent first call to a signal processing toolbox function:
... MWMCR::EvaluateFunction error ... Undefined function 'butter' for input arguments of type 'double'.
I have the toolboxes installed correctly i think:
>> ver
---------------------------------------------------------------------------------------------
MATLAB Version: 8.3.0.532 (R2014a)
MATLAB License Number: 685057
Operating System: Microsoft Windows 7 Ultimate Version 6.1 (Build 7601: Service Pack 1)
Java Version: Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot™ Client VM mixed mode
---------------------------------------------------------------------------------------------
MATLAB Version 8.3 (R2014a)
MATLAB Builder JA Version 2.3.1 (R2014a)
MATLAB Builder NE Version 4.2.1 (R2014a)
MATLAB Compiler Version 5.1 (R2014a)
Signal Processing Toolbox Version 6.21 (R2014a)
I am able to successfully call butter from the matlab command window. I'm also able to successfully execute the line that causes the error with the exact argument values in the command window:
>> [b,a] = butter(N,Wn)
b =
1.0e-07 *
0.3081 0.9244 0.9244 0.3081
a =
1.0000 -2.9874 2.9749 -0.9875
I have Matlab 2014a 32 bit and the 2014a MCR installed. Any ideas? thanks, rob
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!