Matlab Coder and unsupported Built-In functions
4 次查看(过去 30 天)
显示 更早的评论
Hello everyone,
Since a few days I am dealing with code generation in Matlab.
Months ago I created a Matlab function. The function makes unfortunately use of not-supported built-in functions like eval, feval, int2str, num2str,etc... when talking about code generation.
I am currently googling for feasible solutions but probably some of you could already suggest me the more effective and efficient way ahead...
I've been using Matlab R2015b and the generated code will be deployed on a Linux machine in which no Matlab installation is available (I was told that however "MATLAB Runtime" is).
Thank you in advance, Nino
1 个评论
Adam
2016-5-18
Matlab runtime shouldn't be needed for Coder because it produces C++ code. Matlab Compiler is what uses the Runtime as it produces executables rather than just raw code. eval (and probably feval too, I can't remember what it does) are bad practice in Matlab programming too so replacing them with a better implementation would be an improvement for the Matlab code itself too.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!