What does "Out of memory" error mean when building model with embedded coder?

조회 수: 4 (최근 30일)
I have a model I'm programming into a C2000 processor (the F28379D) using embedded coder, and it works fine until I add one additional block to the model, which is when I get the build error "Out of memory." I thought this meant the generated code was too big to fit in the microcontroller flash, but that isn't the case-- a too-large model produces a different error. So what does this error mean? My guess is that it means I'm out of RAM on the microcontroller, but the error doesn't say, or give any other info besides "Out of memory." The error happens during build and I'm NOT using external mode. It ocurred to me that maybe it means my PC is maxing out its RAM while trying to program the board, but I checked task manager and it has 5 GB of free RAM.
outOfMemory.png
Does anyone know what this error means or how to resolve it? Thanks for any help!

답변 (0개)

카테고리

Help CenterFile Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by