Want to resolve error pop up while trying to use buffer block to process analog signal process
2 views (last 30 days)
Show older comments
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
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.
Answers (0)
See Also
Categories
Find more on Sources in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!