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

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일

1 개 추천

You can try coder.inline('never') in your MATLAB Functions. Below is the documentation for the same.
Hope this will be helpful for you.

카테고리

도움말 센터 및 File Exchange에서 MATLAB Coder에 대해 자세히 알아보기

제품

릴리스

R2019b

태그

질문:

2020년 9월 18일

댓글:

2020년 9월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by