.Net Builder and Compiler error.

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!

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2011년 9월 27일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 MATLAB Compiler SDK에 대해 자세히 알아보기

질문:

2011년 9월 27일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by