How can I convert a matlab code to C?
Show older comments
I want to convert this to C code
function [c]= add(a,b)
c=a+b
How is the compiler used to convert this to C, i am new to this. I do not have a Matlab coder.
1 Comment
Shashank Prasanna
on 30 Jan 2013
If you don't have MATLAB Coder, you will have to write it yourself. There is no other way to automatically generate C code out of MATLAB code.
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB Coder 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!