Running reference application "HEV Multimode Reference Application" gives errors on R2023b

조회 수: 5 (최근 30일)
What fixup can anyone recommend for this set of errors running the application "HEV Multimode Reference Application" on R2023b MATLAB Cloud?
Warning: An error occurred while evaluating "loc_createToolchain" in "/MATLAB/toolbox/coder/autosar/rtwTargetInfo.p": Unrecognized function or variable 'autosarroot'.
This custom registration is not loaded.
Updating Model Reference Simulation Targets
### Searching for referenced models in model 'HevMmReferenceApplication'.
### Found 7 model references to update.
### Starting serial model reference simulation build.
### Build procedure for BattHevMm aborted due to an error.
Build Summary
Simulation targets built:
Model Action Rebuild Reason
=========================================================
BattHevMm Failed BattHevMm_msf.mexa64 does not exist.
0 of 7 models built (0 models already up to date)
Build duration: 0h 0m 26.426s
Unable to update models referenced by 'HevMmReferenceApplication'.
Caused by:
Undefined function 'slcifeature' for input arguments of type 'char'.
Component:Simulink | Category:Block diagram error

채택된 답변

Ayush
Ayush 2024년 7월 31일
편집: Ayush 2024년 7월 31일
Hello Mark,
The error that you are encountering when running the application "HEV Multimode Reference Application" is primarily an installation or license error when the application is not able to find the sufficient files or libraries associated with the function "autosarroot":
You can try reinstalling or checking your license for the following MathWorks products that ar required for your respective application as well for the error:
  1. MATLAB Coder: https://www.mathworks.com/products/matlab-coder.html
  2. Simulink Coder: https://www.mathworks.com/products/simulink-coder.html
  3. AUTOSAR Blockset: https://www.mathworks.com/products/autosar.html
You can further check your license information and linked products on the following page:
Hope this gives you direction for a fix!
  댓글 수: 1
Mark
Mark 2024년 8월 4일
After a reset of the academic license, rebuilding the project picked up all the Blocksets needed for this Simulink model.
Interesting that most of the Simulink models available as examples in MATLAB Central have key variables logged. I had to go to the Scope displays and enable logging for those variables in order to use the SDI tool to visualize te reslts.
Thanks, Mark

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by