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