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.
1 个评论
Kaustubha Govind
2013-5-23
What is the exact command you use when the error occurs?
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB Coder 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!