Clear Filters
Clear Filters

Error while uploading Simulink model AEB example on Arduino Uno

2 views (last 30 days)
I am getting the following error when trying to build and deploy the AEB example on my Arduino Uno:
AEBTestBenchExample Failed Code generation information file does not exist. 0 of 2 models built (0 models already up to date) Build duration: 0h 2m 54.034s
Error Report: Command "codertarget.arduinotarget.internal.addCompilerPath();" threw an error: Dot indexing is not supported for variables of this type.

Accepted Answer

Atharva
Atharva on 29 Mar 2023
Hey Hessien,
The error message suggests that there is a problem with the code generation information file for the AEBTestBenchExample, which is preventing the build and deploy process from completing successfully. Here are a few steps you can try to resolve the issue:
  1. Check that you have installed the required support packages for the Arduino Uno in MATLAB and they are upto date.
  2. Check that the AEBTestBenchExample model is set up correctly for code generation.
  3. Check that you have set up the Arduino IDE correctly for use with MATLAB. Make sure that you have installed the necessary libraries and that you have set the path to the Arduino IDE correctly in the MATLAB preferences.

More Answers (0)

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!