Output port cannot accept 'continuous' sample time. Timing legend shows output port is being fed a discrete signal.
2 views (last 30 days)
Show older comments
Copy of the Error Message
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1330665/image.png)
The affected block
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1330670/image.png)
The timing legend
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1330675/image.png)
I've already double checked that the Sample time of Output port one is set to -1 for inherited.
0 Comments
Answers (1)
Samyuktha
on 7 Apr 2023
Hi Richie,
I understand that you are facing an issue with the sample time of the output port of the Sensor Filter block in Simulink.
As the error says the output port cannot accept 'continuous' sample time, please try setting it to 'discrete' sample time. Setting it to 'inherited', the best sample time for the block is determined based on the context of the block within the model.
More information regarding the types of Sample Time can be found in the following documentation link:
Hope it helps!!
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!