How to change memory section setting by script?
古いコメントを表示
How should i change the below scripts?
i have wrote my code generate script in R2016b, but now it's not working properly.
%% model code/data section settings
set_param(bdroot,'MemSecFuncInitTerm', 'NxpCode'); % 代码分配到ROM
set_param(bdroot,'MemSecFuncExecute', 'NxpCode');
set_param(bdroot,'MemSecFuncSharedUtil', 'NxpCode');
set_param(bdroot,'MemSecDataConstants', 'NxpConst'); % 自动生成的常量分配到ROM
set_param(bdroot,'MemSecDataInternal', 'NxpKam'); % 模块静态变量分配到KAM
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で 代码生成 についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!