.Net Builder and Compiler error.
Ältere Kommentare anzeigen
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!
Antworten (1)
Kaustubha Govind
am 27 Sep. 2011
0 Stimmen
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.
Kategorien
Mehr zu MATLAB Compiler SDK finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!