Clear Filters
Clear Filters

Want to resolve error pop up while trying to use buffer block to process analog signal process

2 views (last 30 days)
How can i resolve the error message "All sample times must be discrete. No continuous or constant sample times are allowed"
  1 Comment
Akshat Dalal
Akshat Dalal on 20 Nov 2023
Hi Emmanuel,
I understand that you are facing an error related to sample times in your model. Some Simulink products require the sample times of all blocks to be ‘discrete’. This means that the sample time values of all the blocks in your model must be a finite quantity. Sample time values of ‘0’ and ‘inf’ are not allowed as they indicate ‘continuous’ and ‘constant’ sample times respectively.
Thus, to resolve your error, please ensure that all the blocks in your model have ‘discrete’ sample times. To read more about sample times is Simulink, please refer the following documentation: https://www.mathworks.com/help/simulink/ug/types-of-sample-time.html
I hope this helps.

Sign in to comment.

Answers (0)

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!