Output port cannot accept 'continuous' sample time. Timing legend shows output port is being fed a discrete signal.

7 views (last 30 days)
Copy of the Error Message
The affected block
The timing legend
I've already double checked that the Sample time of Output port one is set to -1 for inherited.

Answers (1)

Samyuktha
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!!

Categories

Find more on Modeling in Help Center and File Exchange

Tags

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!