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.
Does anyone know what this error means or how to resolve it? Thanks for any help!
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!