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

4 ビュー (過去 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.
  1 件のコメント
Takumi Tanaka
Takumi Tanaka 2020 年 9 月 23 日
Thank you.
I understand that this option is valid.
Regards,

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMATLAB Coder についてさらに検索

タグ

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by