.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