How to change AR-PACKAGE(Components) name
29 ビュー (過去 30 日間)
古いコメントを表示
Hi!
I want to change AUTOSAR Package Name.
I made AUTOSAR Options using AUTOSAR Architecture and Data dictionary.
I could check all of options in AUTOSAR Dictionary of Model previous version.
How to Change AR-PACKAGE Tag Name?
0 件のコメント
回答 (1 件)
praguna manvi
2024 年 11 月 5 日 7:02
As I see, you are looking to change the AUTOSAR package tag name using the properties object. You can achieve this by setting the respective package path using the AUTOSAR properties object. Here's a code snippet from an example:
% change from Component to MyGround
arProps = autosar.api.getAUTOSARProperties(hModel);
set(arProps,'XmlOptions','ConstantSpecificationPackage','/pkg/misc/MyGround',...'MoveElements','None');
You can also modify it in the "XmlOptions" tab under the "AUTOSAR Dictionary" from the UI. For more information, refer to the "Configure AUTOSAR Packages and Paths" section at the following link:
3 件のコメント
praguna manvi
2024 年 11 月 5 日 9:56
@선주, it seems like the Simulink model or data dictionary named 'SWC_App' is not found in your current working directory. Please check if it exists.
Follow the example in the "Control AUTOSAR Elements Affected by Package Path Modifications" section, which uses the following model:
openExample('autosar_swc_expfcns');
参考
カテゴリ
Help Center および File Exchange で AUTOSAR Software Components についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!