Matlab coder there is no enumerated value named 'rtw:lib' problem under debian
Ältere Kommentare anzeigen
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 Kommentar
Kaustubha Govind
am 23 Mai 2013
What is the exact command you use when the error occurs?
Antworten (0)
Kategorien
Mehr zu MATLAB Coder finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!