Output port cannot accept 'continuous' sample time. Timing legend shows output port is being fed a discrete signal.
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Samyuktha
2023-4-7
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!