.Net Builder and Compiler error.
Mostrar comentarios más antiguos
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!
Respuestas (1)
Kaustubha Govind
el 27 de Sept. de 2011
0 votos
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.
Categorías
Más información sobre MATLAB Compiler SDK en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!