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

107 vues (au cours des 30 derniers jours)
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

Réponses (1)

Jim Riggs
Jim Riggs le 19 Nov 2019
Modifié(e) : Jim Riggs le 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"

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by