.Net Builder and Compiler error.
Show older comments
I built a .net dll which wrappers an matlab function I created and try to call it in C# program through this .net dll.
The matlab function calls the matlab global search utility "ga" with some problem-struct input parameter (where I have all specific information such as objective function, option to select children etc...) As a result, I got the following exception "MWMCR::EvaluateFunction error ... Error using ==> feval Undefined function or method 'selectionuniform' for input arguments of type 'struct'. Error in => optimizer_GA.m at line 9. Matlab M-code Stack Trace ...
Could somebody tell me what is wrong? Thanks!
Answers (1)
Kaustubha Govind
on 27 Sep 2011
0 votes
What version of MATLAB are you using? It appears that R2010a and R2010b had Bug#664128 which can cause run-time errors in the deployed application when using functions from the Global Optimization Toolbox.
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!