Error in 'test2/Buffer': All sample times must be discrete. No continuous or constant sample times are allowed.

Hello,
I want to simulate an ADC in simulink using NRZ S/H. this is my first time that I want to use DSP toolbox in simulink. Here is my schematic:
but this error pops up:
Error in 'test2/Buffer': All sample times must be discrete. No continuous or constant sample times are allowed.
I think every thing is discrete.
please let me know your idea for solving this problem.
thank you

2 comentarios

hello
make sure your solver options specifies that you have fixed sampling rate, which is not simulink options by default

Iniciar sesión para comentar.

Respuestas (0)

Productos

Versión

R2018b

Etiquetas

Preguntada:

el 14 de Jun. de 2023

Comentada:

el 6 de Jul. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by