Error while uploading Simulink model AEB example on Arduino Uno

4 次查看(过去 30 天)
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.

采纳的回答

Atharva
Atharva 2023-3-29
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by