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

5 vues (au cours des 30 derniers jours)
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 commentaires
Mathieu NOE
Mathieu NOE le 6 Juil 2023
hello
make sure your solver options specifies that you have fixed sampling rate, which is not simulink options by default

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by