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
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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!