Borrar filtros
Borrar filtros

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

4 visualizaciones (últimos 30 días)
Takumi Tanaka
Takumi Tanaka el 18 de Sept. de 2020
Comentada: Takumi Tanaka el 23 de Sept. de 2020
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,

Respuestas (1)

Darshan Ramakant Bhat
Darshan Ramakant Bhat el 18 de Sept. de 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.


Más información sobre MATLAB Coder en Help Center y File Exchange.





Community Treasure Hunt

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

Start Hunting!

Translated by