Error using command createComponentAsModel

Project *.arxml file has 3 application software components. I can generate frame model for individual components using individual component arxml file. But when i am generating frame model from main arxml I m getting below error.
Warning: Cannot find a valid AtomicSoftwareComponent "******"
> In autosar.mm.util.MessageReporter/flush
In autosar.mm.util.MessageStreamHandler/flush
In autosar.mm.util.MessageStreamHandler/handleMessage
In autosar.mm.util.MessageStreamHandler/createMessage
In autosar.mm.util.MessageStreamHandler/createWarning
In autosar.mm.mm2sl.ModelBuilder/createApplicationComponent
In p_create_slcomponent
In arxml.importer/createComponentAsModel (line 87)
In Shell (line 10)

답변 (1개)

shimeng liu
shimeng liu 2019년 11월 26일

0 개 추천

if you use Davinci, change ''createComponentAsModel(obj,'\pkg\swc')" to "createComponentAsModel(obj,'\ComponentTypes\swc')".swc is init value, you need to change "swc" to the Application name.Find the Application name in ComponentTypes folder.
Open the ComponentTypes folder,you can find APP.arxml.
001.JPG 002.JPG
003.JPGComponentTypes -> ComponentTypes folder.APP -> APP.arxml

카테고리

도움말 센터File Exchange에서 AUTOSAR Blockset에 대해 자세히 알아보기

질문:

2018년 2월 6일

답변:

2019년 11월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by