Porblem in Converting MATLAB code to C using MATLAB Coder
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
I am new to MATLAB Coder.I have 7 function in my project so how to convert complete project into C.I tried doing same.When i include all the files it gives error function has undefined inputs.Please help in this conversion.
Thanks,
Sita
댓글 수: 0
채택된 답변
Mike Hosea
2013년 7월 8일
편집: Mike Hosea
2013년 7월 8일
It sounds like you are supplying each of the functions to be compiled. If you do that, you will need to supply the argument types for each one. What you're doing is defining multiple entry points. However, if you just have one main function and a lot of other functions that get called by it and by other functions, just compile your main function only. The compiler will pick up the other functions automatically if they are in the current directory or somewhere on the MATLAB path.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!