I try to define a input array for c block module.
A add on propriety of block this statment : double a={0,1,2}.
In C++ template the variable appear but when try to run the simulation i get the following message
If I understand correctly, you are trying to pass an array as an attribute. If so, that’s not supported. You’ll need to pass the values as individual attributes. Or you could set the attribute as a string (e.g., char* a=“0,1,2”) and parse the string into values inside the C++ code.