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

1 vue (au cours des 30 derniers jours)
Takumi Tanaka
Takumi Tanaka le 18 Sep 2020
Commenté : Takumi Tanaka le 23 Sep 2020
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,

Réponses (1)

Darshan Ramakant Bhat
Darshan Ramakant Bhat le 18 Sep 2020
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 commentaire
Takumi Tanaka
Takumi Tanaka le 23 Sep 2020
Thank you.
I understand that this option is valid.
Regards,

Connectez-vous pour commenter.

Catégories

En savoir plus sur MATLAB Coder dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by