[英]Matlab coder for “spline” function
Using the built in function of MATLAB coder, which converts matlab to c++, is it possible to convert internal matlab functions like spline? 使用MATLAB编码器的内置函数,将matlab转换为c ++,是否可以转换内部matlab函数,如样条函数? I follow the directions from http://blogs.mathworks.com/loren/2011/11/14/generating-c-code-from-your-matlab-algorithms/ but I get errors on variables from even the beginning when trying convert the spline function.
我按照http://blogs.mathworks.com/loren/2011/11/14/generating-c-code-from-your-matlab-algorithms/上的说明进行操作,但在尝试转换时,我甚至从一开始就遇到变量错误样条函数。 Has anyone had success with this.
有没有人有这个成功。 I imagine matlab would need to convert ppval, mkpp, unmkpp etc...
我想matlab需要转换ppval,mkpp,unmkpp等...
Specifically speaking, almost every line gives me an error, with the first line: 具体来说,几乎每一行都给我一个错误,第一行:
[x,y,sizey,endslopes] = chckxy(x,y);
giving the error 给出错误
Undefined function or variable 'chckxy'.
But when i do "edit chckxy" matlab says it doesnt exist, so im not sure how to get around it. 但是当我做“编辑chckxy”时,matlab说它不存在,所以我不知道如何解决它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.