Is it possible to use logged signals within Matlab Level-2 S-functions? I need an S-function to run only every 5 s, so that that could be its rate. However, if I use the S-function to log the data, I need to call it at every time step and that slows down the code considerably. Is it possible to use logged signals within the Matlab Level-2 S-function instead?
Thank you in advance for the help!