wait

Top 

wait


wait some time to pass.

Since R2019b

 

Library: CAN Bus Controller ( Dafulai Electronics) /wait

 

 

wait

 

 


 

Description


 

This block will wait some milliseconds. This is block-function, it is different from simulated-sampling time, it is truly time. After the truly time passed, this block completes and it can run other remaining blocks in the entire model.

 

Notes:  Windows/Linux/MacOS is not real time OS. So this block cannot guarantee real time.

 

Parameters


 

Please double click this block to open parameters dialog below:

 

wait_parameter

 

 

Let us explain parameters.

 

 

Time in ms for waiting — Delay time in milliseconds.

 

 

 

Ports


 

Input

 

EnIn — "number" scalar or "logical" scalar. true or >0 will delay specified time. false will be no any delay.

 

Outport


 

EnOut — "logical" scalar. It is EnIn value. If EnIn is "number" type, EnOut= true when EnIn>0.