I am trying to use the Real-Time Workshop S-function target to build an S-function from a subsystem. I want the S-function to inherit its sample time. When I compile the subsystem, I get the following error:
Error using ==> slbuild Error using ==> RTW.makertw.make_rtw Error using ==> tlc_c Error using ==> rtwgen This model will not inherit a sample time because a sample time was explicitly set in the model. This sample time was either set in a block or the fixed step size of the model.
Best Answer