Code generation fails with "Error loading memory section definitions. Cannot find package" error
5 views (last 30 days)
Show older comments
MathWorks Support Team
on 8 Dec 2025 at 0:00
Answered: MathWorks Support Team
on 8 Dec 2025 at 2:08
When I try to generate code from my model in MATLAB R2023b, it fails with:
Error loading memory section definitions.
Cannot find package 'TI'
Accepted Answer
MathWorks Support Team
about 2 hours ago
The error message indicates that the code generation process is unable to load the custom data package specified via the following model parameter:
>> get_param(bdroot,"MemSecPackage")
ans =
'TI'
Make sure the custom data package is available in your MATLAB session. If your model no longer uses this custom data package, reset the setting via:
>> set_param(bdroot,"MemSecPackage","--- None ---")
0 Comments
More Answers (0)
See Also
Categories
Find more on RF Blockset Models for Transceivers in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!