It could happen, that when you import an .arxml file in MATLAB to create a Software Component (SWC) then after starting AUTOSAR API command "createComponentAsModel(…)" the MATLAB command window prompt does not come back.
Assume you have a AUTOSAR XML description file called "mytest1.arxml" which contains one SWC called TCalc which I would import into Simulink to get a AUTOSAR configured model. I changed the MATLAB current directory and executed these commands in MATLAB command window to create the model with the SWC:
>> ar = arxml.importer('mytest1.arxml')ar =The file "H:\test_project\incoming\mytest1.arxml" contains: 1 Application-Software-Component-Type: '/ComponentTypes/TCalc'>> createComponentAsModel(ar,'/ComponentTypes/TCalc','ModelPeriodicRunnablesAs','AtomicSubsystem')
After I while the MATLAB command window prompt ">>" does not come back, means an endless loop was executed in the API function createComponentAsModel(…).
Best Answer