Hello,
I have been given a Simulink model using a sample time of 0.1s. I want to add an S-function (.mexw64) that requires a sample time of 0.01s. However, trying to change the solver sample time to 0.01s doesn't seem to work. I get the following error:
The sample time period (0.01) of 'model block x' is not an integer multiple of the fixed step size (0.1) specified for model.
The error occurs for several model blocks, x, y, z, etc… In the model explorer, all configurations have the same sample times, 0.01s, but the error persists. I have found no program lines that change the sample time during excecution. Is there something I have missed?
BR Stellan
Best Answer