I have a main C source file that has the following structure:
#include "…." Define global variables Code Call to void function1(void) Code Call to void function2(void)
I would like to have one S-Function block for function1 and one S-Function block for function2. The difficulty in this is the sharing of global variables between these S-Function blocks. What is the recommended way of implementing this?
Best Answer