How to resolve Simulink C2000 Build Error for "Program will not fit into available memory"?

18 次查看(过去 30 天)
Hello,
I'm currently running into this program will not fit into available memory error. I tried editing my .ebss in the file that is linked in the line 166 error section, but to no avail. Does anyone have any recommendations on how to fix this? I am using the PLL (3phase) block in Simulink that is causing this error. Without it, the error goes away.
Thanks

回答(1 个)

Asim
Asim 2024-1-14
Hello Dev,
I understand your are getting a Build Error : "Program will not fit into available memory". To resolve this issue, please select the option 'boot from flash' in MATLAB configuration parameters.
For a more comprehensive solution and additional information about your specific problem, kindly refer to this post.
I hope this helps!
Thanks & Regards,
Asim Asrar

Community Treasure Hunt

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

Start Hunting!

Translated by