why c# connect with matlab it to slow? and why my matlab compiler don't know imfill function?
Show older comments
i have some project and it have to use matlab function with c#. it Ok it work ,but it to slow for process. it uses a lot of time in process and return result for show in c#. i don't know why ? (before i compile matlab function .i test it in matlab it too fast.then i compile it and use it with c# why it too slow :( )
and then i install matlab compiler(MCRInstaller.EXE) on new computer for test my program. and then i have error . it don't know "imfill" Function in image processing in matlab. so, i don't know why
if some people have solution for solve it, could you tell me ?
Answers (1)
Friedrich
on 4 Aug 2011
0 votes
Hi,
when calling your function in C# it is slow because the MCR gets loaded. This operation take some time. The actual computation is as fast as in MATLAB.
How do you call the function imfill in your MATLAB m file? Can you see some information regarding imfill in the mccexcludedfiles.log (created during compiling)?
Categories
Find more on MATLAB Compiler SDK 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!