Create user-defined package to define memory sections for subsystem functions during code generation

4 views (last 30 days)
How can I create a user-defined package to define memory sections for subsystem functions during code generation?
When I define a memory section in the Embedded Code Dictionary, I cannot exploit it in the memory allocation for functions since only the default packages appear in the list of the available packages in the realtive Model Configuration tab.
Thanks for your attention
  1 Comment
Liang Zong
Liang Zong on 8 Mar 2022
Edited: Liang Zong on 8 Mar 2022
Hi,
i faced similar issue once i create a new section(by m-scrips) in Package"Autosar4" , but it is not shown in the item "Memory Sections" after i click "Refresh package list", my solution is check cscdesigner and restart matlab by "Run as administrator", then Refresh package list

Sign in to comment.

Answers (1)

Quentin Coret
Quentin Coret about 10 hours ago
It's been a while, but for anyone else looking for the answer, follow this guide:
Section "Override Memory Section for Atomic Subsystem"

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!