- MATLAB Coder: https://www.mathworks.com/products/matlab-coder.html
- Simulink Coder: https://www.mathworks.com/products/simulink-coder.html
- AUTOSAR Blockset: https://www.mathworks.com/products/autosar.html
Running reference application "HEV Multimode Reference Application" gives errors on R2023b
8 views (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
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:
You can further check your license information and linked products on the following page:
Hope this gives you direction for a fix!
More Answers (0)
See Also
Categories
Find more on C2000 Microcontroller Blockset in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!