polyfit and code generation

6 views (last 30 days)
Safwan
Safwan on 4 Aug 2011
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

Answers (1)

Nirmal Gunaseelan
Nirmal Gunaseelan on 4 Aug 2011
The list of supported functions doesn't seem to suggest that POLYFIT is supported.
  4 Comments
Nirmal Gunaseelan
Nirmal Gunaseelan on 4 Aug 2011
And apologies for pointing to the wrong page - my original link was talking about supported functions in the Signal Proc Toolbox alone.
Safwan
Safwan on 8 Aug 2011
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

Sign in to comment.

Categories

Find more on Modeling in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!