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

8 次查看(过去 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 中查找有关 C2000 Microcontroller Blockset 的更多信息

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by