I have a multi input coupled 2nd order non-linear system and want to generate
a
S-funciton generic simulink block. The forward numerical method run well in m-
file formate if given a very small step size: deltaT=.00005, but it will blow
up when implemented by using s-function block.
I don't have much experience using m-file to write s-function. I am wondering
if the m-file s-funciton itself have some bugs when impelmenting this kind of
highly non-linear system.
Help help. and Thanks a lot.