Arduino Simulink codertarge​t.arduinot​arget.inte​rnal.addCo​mpilerPath error

For Arduino inside Simulink:
I am trying to build a model in external mode. I have made the model using control algorithm template.
I have used two S-Function builder to add my drivers needed for the model (built in another model, copy pasted to current model, but generated cpp files in the path).
but it gives me this error:
### Build procedure for model: 'arduinoModel' aborted due to an error.
Error Report: Command "codertarget.arduinotarget.internal.addCompilerPath();" threw an error: Dot indexing is not supported for variables of this type.
Also, I have a matlab function which is set to extrinsic.
The file it is refering to has '.p' extension so I can not track the error.

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Products

Release

R2019a

Asked:

on 25 Jul 2019

Commented:

on 14 Sep 2024

Community Treasure Hunt

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

Start Hunting!