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

8 views (last 30 days)
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

Accepted Answer

Ayush
Ayush on 31 Jul 2024
Edited: Ayush on 31 Jul 2024
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 Comment
Mark
Mark on 4 Aug 2024
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

Sign in to comment.

More Answers (0)

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!