Hello, I tried looking through the solutions posted in the forum but could not find the one matching my issue.
In model explorer I have declared a data as of size [2 1]. And like it says in the examples that if you want to initialize to 0 then you don have to specify.
Now when I try accessing this data in my stateflow chart as data[1][1]=0; The following error pops up in the build.
Parse error: Unbalanced or unexpected parenthesis or bracket.
State 'Start' "[1][1]=2;"
I need to be able to access this array in a C file I am linking to.
Can some one tell me what I am doing wrong here. Thanks.
Best Answer