Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Can function definitions be preserved with Matlab coder?
조회 수: 1 (최근 30일)
이전 댓글 표시
Just a simple question; We use Matlab coder to produce C++ code that eventually gets put on an embedded machine. We would like the generated code to maintain the functional structure of the Matlab code. Currently we observe that some of our Matlab functions are not preserved in the generated C++ code - these functions essentially become in-line C++ code.
Is there a setting or rule of thumb that can be used to prevent Matlab coder from removing functional blocks?
Thanks in advance,
Todd Wetzel
댓글 수: 0
답변 (1개)
Harsh
2017년 2월 15일
Hello,
The following doc maybe useful to you - it contains techniques you can use to control inlining during code generation.
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!