MATLAB Answers

All sample times for this block must be discrete. No continuous or constant sample times are allowed

91 views (last 30 days)
Kumar chaya
Kumar chaya on 19 Nov 2019
Edited: Jim Riggs on 19 Nov 2019
Hello I'm trying to generate sigma delta A to D converter.
The following error occurs "All sample times for this block must be discrete. No continuous or constant sample times are allowed" while using CIC decimation block
Capture.PNG

Answers (1)

Jim Riggs
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"

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!