| Contents | Index |
notifyMatlabServer EventID -socket tcp-spec
notifyMatlabServer EventID -socket tcp-spec sends 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, hdldaemon must be running with the same communication mode as specified with the notifyMatlabServer command. The event ID and the PID queue in hdldaemon. notifyMatlabServer is often used in conjunction with waitForHdlClient to make sure the HDL simulator is ready to begin or continue processing.
This command issues in the HDL simulator.
In MATLAB, use the function waitForHdlClient to verify whether the HDL simulator event ID has been received. In the following example, the function returns the HDL Simulator PID if EventID = 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 notifyMatlabServer command to send event ID 5 to hdldaemon running on the same machine using TCP/IP socket port 5002.
>> notifyMatlabServer 5 -socket 5002

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |