I have an m file of recursive least square algorithm(second order bandpass filter ) for parameter estimation and i want to write in c or in S-function. But i don't know how i start. if i write by hand in C then it's become more complicated. Is there anyway to convert it directly. please need some favor. Thanx

 Accepted Answer

Honglei Chen
Honglei Chen on 24 Nov 2015

0 votes

Yes, you can do this via MATLAB Coder. Here is a small video showcasing that.
You should be able to find more information if you do a Google search. HTH.

4 Comments

i have Matlb 2008a don't have Matlab coder where to get i free? Thanx
Walter Roberson
Walter Roberson on 24 Nov 2015
MATLAB Coder costs approximately $US6800, and you would need to upgrade to a current version of MATLAB to be permitted to purchase MATLAB Coder. There has never been a free version of MATLAB Coder.
Ok. I'm realy annoyed....
Walter Roberson
Walter Roberson on 18 Jul 2020
Note: MATLAB Coder is now available to student licenses; it was not available to student licenses at the time the above discussion took place.

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Products

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!