Matlab Simulink S-Function: How to transfer the data from block to block except using a global variable -
In my simulated model, I have several block S functions that share the global variable. As we know, the value of the global variable will be transferred and potentially changed to block from the block. I am surprised that there is no alternative to transfer to block the data from the block.
I used to share between C and C ++ classes (or any other content) between pwork vectors functions For a scolding vector is actually just an indicator for one object
Check it out:
Comments
Post a Comment