Memory section default configuration

6 views (last 30 days)
Yohann GOYER
Yohann GOYER on 24 Apr 2019
Answered: Stefanie Schwarz on 24 Aug 2021
I got the warning:
Memory section default configuration for model xxxMyModelxxx was migrated to code mappings. To modify default configuration, click Code > C/C++ Code >
Configure Model in Code Perspective to open Code Mappings display or use the code mapping API.
This error is new for me. I now use a configuration that is stored in a dictionary and I have set argument for my "step" function.
Can you explain why this error occurs and what to do to fix the warning?
Yohann GOYER
Yohann GOYER on 28 Nov 2019
Hello Joseph,
Unfortunatly no. I repport this question to Matlab trainners. It seems to be a bug in matlab. I'm still waiting for resolution.
I will post here information if I found a solution.

Sign in to comment.

Answers (1)

Stefanie Schwarz
Stefanie Schwarz on 24 Aug 2021
You see this warning because starting from R2018a, the correct way to define default memory sections is using the Code Mappings Editor, instead of using model configuration parameters.
For more information, see:


Find more on Deployment, Integration, and Supported Hardware 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!