How to change storage class
4 ビュー (過去 30 日間)
古いコメントを表示
Hi I have a data dictionary with Autosar4.signal, I need to change their storage class from global to Exported global from script. I am trying to use this script but it s giving me this error.
Script: load_system('xxxxxxxSWC');
Obj = getSection(myDictionaryObj,'Design Data');
paramEntries = find(dDataSectObj,'-value','-class','AUTOSAR4.Signal');
for i = 1:length(paramEntries);
set_param(paramEntries(i),'StorageClass','ExportedGlobal') end
ERROR : The first input to set_param must be of type 'double' or 'char'.
4 件のコメント
jonas
2018 年 9 月 20 日
Me neither, because I still don't know the class of paramEntries. Can you paste the result of
whos paramEntries
?
回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Dictionaries についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!