フィルターのクリア

How to import an AUTOSAR SWC directly in a Simulink model?

3 ビュー (過去 30 日間)
Saeed Soltani
Saeed Soltani 2016 年 5 月 17 日
回答済み: Krishna Anne 2019 年 5 月 30 日
Hi everyone,
I am almost new in Simulink. I have created a GUI which by clicking bottom it imports an arxml file as AUTOSAR SWC. Then it saves and opens a new Simulink file for it. here is my current code:
model_if1 = createComponentAsModel( importerOBJ, '/YellowCar/ProcessingECU/SoftwareComponents/DistMgr');
current_Path = fileparts(mfilename('fullpath'));
parent_Path = current_Path(1:end-length('arxml_for_import'));
save_system(gcs,[parent_Path, 'Documents\MATLAB\YellowCarProject4\', gcs, '_imp']);
But I have to import it directly inside of my current Simulink model. Any idea?
Thanks

回答 (1 件)

Krishna Anne
Krishna Anne 2019 年 5 月 30 日

カテゴリ

Help Center および File ExchangeAUTOSAR Blockset についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by