Code generation fails with "Error loading memory section definitions. Cannot find package" error

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

More Answers (0)

Categories

Find more on RF Blockset Models for Transceivers in Help Center and File Exchange

Tags

No tags entered yet.

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!