transfer function to c code

8 次查看(过去 30 天)
Anantha Padmanabha
Anantha Padmanabha 2011-5-19
how to convert a transfer function to c code
  4 个评论
Arnaud Miege
Arnaud Miege 2011-5-19
Are you using just MATLAB (and probably also Control System Toolbox) or also Simulink to model your transfer function?
Anantha Padmanabha
Anantha Padmanabha 2011-5-19
I am using MATLAB. How can I convert the .M file generated by the MATLAB to .C file.

请先登录,再进行评论。

回答(1 个)

Arnaud Miege
Arnaud Miege 2011-5-19
The code generation products have been repackaged in the latest release, R2011a.
If you are using R2011a, you can use MATLAB Coder. Have a look at the MATLAB Coder Overview video. If this is for creating production software, you might also want to consider Embedded Coder.
In previous releases, you would need to use Embedded MATLAB with Real-Time Workshop (and also Real-Time Workshop Embedded Coder if production software). This required you to also have Simulink. That's no longer the case with MATLAB Coder.
HTH,
Arnaud
  1 个评论
Anantha Padmanabha
Anantha Padmanabha 2011-5-19
Thanks a lot Arnaud.
I wiil implement the same.
Regards
Ananth

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by