Matlab coder there is no enumerated value named 'rtw:lib' problem under debian
Show older comments
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 Comment
Kaustubha Govind
on 23 May 2013
What is the exact command you use when the error occurs?
Answers (0)
Categories
Find more on MATLAB Coder in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!