Use the following steps to run the HIL on two instances of MATLAB. Here you are not running MUSIC on the VCK190 evaluation board, but instead are using a second MATLAB instance to emulate the board.
Step #1: Start two instances of MATLAB. Set the root directory for the two instances to HIL/MatlabClient and HIL/MatlabServer respectively.
Step #2: Use ipconfig on Windows (or equivalent if using Linux) to get the local IP address, and configure using the MATLAB script TcpIp/getIpAddr.m as outlined previously.
Step #3: Create a TCP server on the MATLAB server instance as shown in the following figure.
Step #4: On the client MATLAB instance, send the generated or archived batch using the sendSnapshots.m script as outlined earlier. The client enters listening mode.
Step #5: On the server instance run the script emulateMUSIConVCK190.m to emulate the VCK190 workload. The server instance runs MUSIC on the received batch and sends back the results.
Step #6: The client instance plots the responses it receives.