.Net assembly and "Undefined function 'imresizemex' for input arguments of type 'double'".
1 view (last 30 days)
Show older comments
Hello,
I'm trying to create a .net dll in order to use my matlab code into an application in .Net.
In my matlab code I use the function imresize(X,0.5) without having any problem. But in C# I'm having this exception: MWMCR::: "Undefined function 'imresizemex' for input arguments of type 'double'". Can anyone help me on solving this error?
Thanks in advance.
0 Comments
Answers (2)
Walter Roberson
on 30 Mar 2013
In your MATLAB code, add the comment
%#function imresizemex
2 Comments
Xiaoyan Sheen
on 16 Mar 2016
imresizemex.mexw32/64 is a compiled code that can be called by Matlab. You may have trouble direct calling it in C#.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!