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

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

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

Products

Release

R2023b

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!