All sample times for this block must be discrete. No continuous or constant sample times are allowed
188 views (last 30 days)
Jim Riggs on 19 Nov 2019
Edited: Jim Riggs on 19 Nov 2019
On the Simulink toolbar, select "Display" - "Sample time" and check "all".
This will show the sample time for all of the signals in the model and show you where there is a continuous signal. You can change this by setting the block properties from which the signal orriginates.
Another option is to set the properties of the entire model solver to be "discrete".
This is done under "Simulation" - "Model Configuration Parameters" - "Solver"