How can I convert a matlab code to C?
이전 댓글 표시
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
Shashank Prasanna
2013년 1월 30일
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.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!