Send HDL simulator event and process IDs to MATLAB server
the HDL simulator event ID and process identification (PID) to the MATLAB® server
hdldaemon) using the specified connection methods
(socket or shared memory). For MATLAB to receive this message,
be running with the same communication mode as specified with the
command. The event ID and the PID queue in
often used in conjunction with
make sure the HDL simulator is ready to begin or continue processing.
This command issues in the HDL simulator.
Specifies the event ID to be sent to
Specifies that TCP/IP socket communication be used for the link
between the HDL simulator and MATLAB. For TCP/IP socket communication
on a single computer,
When you omit the
In MATLAB, use the function
verify whether the HDL simulator event ID has been received. In the
following example, the function returns the HDL Simulator PID if
= 5 is received within 100 seconds. If a time-out occurs,
the function returns –1.
>> hdldaemon('socket',5002); ... >> hdlpid = waitForHdlClient(100,5);
In the HDL simulator, issue the
to send event ID 5 to
hdldaemon running on the
same machine using TCP/IP socket port 5002.
>> notifyMatlabServer 5 -socket 5002