Wait until specified event ID is obtained or time-out occurs
waits for the expected HDL simulator pID
= waitForHdlClient(timeout
,eventID
)eventID
to arrive at the MATLAB® server before processing continues. If the expected eventID
arrives before the number of seconds specified by timeOut
the value
returned by the HDL simulator is the HDL simulator process ID (PID).
waits for
pID
= waitForHdlClienteventID = 1
for 60
seconds.
Wait for event ID 2 for 120 seconds.
>> ID = waitForHdlClient(120,2);