I have an Arduino model in Simulink and I’ve been trying to build the C code for it. Everytime that I click “Build”, I face with this error:
(Command “codertarget.arduinotarget.internal.addCompilerPath();” threw an error: Dot indexing is not supported for variables of this type.)
The model is related to automobiles so I have only defined numerical variables.
How can I tackle this error?
I have tried to define the variables like this m = 1600, instead of m=[1600]. But I’m not sure if it’s relevant. Still, I get the same error.
Ghazal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.