.Net assembly and "Undefined function 'imresizemex' for input arguments of type 'double'".
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.
Answers (2)
Walter Roberson
on 30 Mar 2013
In your MATLAB code, add the comment
%#function imresizemex
Xiaoyan Sheen
on 16 Mar 2016
0 votes
imresizemex.mexw32/64 is a compiled code that can be called by Matlab. You may have trouble direct calling it in C#.
Categories
Find more on Get Started with Microsoft .NET 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!