.m to c code

3 views (last 30 days)
Ali Imran Siddiqui
Ali Imran Siddiqui on 24 Nov 2015
Commented: Walter Roberson on 18 Jul 2020
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
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
Rodolfo Bortoluzzi
Rodolfo Bortoluzzi on 18 Jul 2020
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

Tags

No tags entered yet.

Products

Community Treasure Hunt

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

Start Hunting!