An error when lanuch Autosar package

조회 수: 6 (최근 30일)
Saming Done
Saming Done 2018년 10월 8일
답변: Anshuman 2024년 12월 10일
C/C++ Coder->Configrue Mode as AUTOSAR Component,the error occured Undefined variable"AUTOSAR" or class "AUTOSAR.Tip" matlab could not open the autosar configuration.

답변 (1개)

Anshuman
Anshuman 2024년 12월 10일
Hello Saming,
This typically indicates that the AUTOSAR support is not properly set up or the necessary toolboxes are not installed. Here's how you can address this issue:
  • Make sure you have the AUTOSAR Blockset or the necessary features of Embedded Coder installed. You can check and install these via MATLAB's Add-On Explorer.
  • Ensure that your MATLAB path is correctly set up to include the AUTOSAR libraries. You can reset the MATLAB path to default by executing:
restoredefaultpath;
rehash toolboxcache;
  • If the toolboxes are installed and licensed, try opening the AUTOSAR Configuration Editor again. Open your Simulink model. Navigate to the "AUTOSAR" tab in the Simulink toolstrip. Click on "Code Interface" or "AUTOSAR Component" to configure the model.
Hope it helps!

카테고리

Help CenterFile Exchange에서 AUTOSAR Blockset에 대해 자세히 알아보기

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by