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

8 views (last 30 days)
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

Answers (1)

Asim
Asim on 14 Jan 2024
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!