Dear all,

I am trying to connect a function-file in MATLAB to Simulink via 2nd level S-function. But I have a global variable defined in my function file.

Can anyone let me know, how to declare global variables in S-functions?

thank you.

More Parag Patil's questions See All
Similar questions and discussions