Matlab coder there is no enumerated value named 'rtw:lib' problem under debian

Hello,
I am having difficulties with the matlab coder when I try to convert a simple matlab function to c++ code. My function is
function [ret]=add(val1,val2)
ret=val1+val2;
end
When I try to build it as a C++ executable or static library with coder I get the the following error
there is no enumerated value named 'rtw:lib'
My compiling configuration is for X86. But there is not any problem when I build it as a mex function and get the function's corresponding c code with header and the code file.
What may cause the problem for C++ building?
Thank you.

Respuestas (0)

Categorías

Más información sobre MATLAB Coder en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 23 de Mayo de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by