Main Content
waitForHdlClient
Wait until specified event ID is obtained or time-out occurs
Description
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.
Examples
Wait Until Specified Event ID Is Obtained or Time-Out Occurs
Wait for event ID 2 for 120 seconds.
>> ID = waitForHdlClient(120,2);
Input Arguments
Output Arguments
Version History
Introduced in R2012b