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

107 次查看(过去 30 天)
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

回答(1 个)

Jim Riggs
Jim Riggs 2019-11-19
编辑:Jim Riggs 2019-11-19
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"

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by