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.