How to split the function when generating code with MATLAB coder.

조회 수: 3 (최근 30일)
Takumi Tanaka
Takumi Tanaka 2020년 9월 18일
댓글: Takumi Tanaka 2020년 9월 23일
Hi,
I generate C code in MATLAB coder.
In that case, one very large function is generated.
The compiler I'm using can't handle one large function.
Is there a way to split a function while preserving its functionality?
Thanks and Regards,

답변 (1개)

Darshan Ramakant Bhat
Darshan Ramakant Bhat 2020년 9월 18일
You can try coder.inline('never') in your MATLAB Functions. Below is the documentation for the same.
Hope this will be helpful for you.

카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

태그

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by