Hi, I have a question,
when I writing a M-file S-Function, how can I setting
a global variable? And, every time when Simulink call
this S-Function,the value of the variable(ex. a array buffer)
is not changed,i.e. the variable holds the value of the
previous simulation step.
Best Regards
shen
when I writing a M-file S-Function, how can I setting
a global variable? And, every time when Simulink call
this S-Function,the value of the variable(ex. a array buffer)
is not changed,i.e. the variable holds the value of the
previous simulation step.
Best Regards
shen