polyfit and code generation

5 次查看(过去 30 天)
Safwan
Safwan 2011-8-4
Hi,
I am using polyfit in Simulink and i want to know if it is possible to generate code for polyfit with the Matlab coder.
thank you in advance

回答(1 个)

Nirmal Gunaseelan
The list of supported functions doesn't seem to suggest that POLYFIT is supported.
  4 个评论
Nirmal Gunaseelan
And apologies for pointing to the wrong page - my original link was talking about supported functions in the Signal Proc Toolbox alone.
Safwan
Safwan 2011-8-8
Hi Nirmal,
thank you agian for the response
I generate code for a Polyfit block in Simulink but only the declaration of the function will be generated without definition. Do you know any possible reason why no definition in generated. I got also the same problem by generating code for a matrix multiplication block or pseudoinverse block.
I appreciate your help

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 C Code Generation 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by