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

4 ビュー (過去 30 日間)
Matthew Gingerich
Matthew Gingerich 2019 年 7 月 17 日
コメント済み: Venkatesh Chilapur 2019 年 7 月 18 日
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 Center および File ExchangeDeployment, 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