Delete target communication properties from Simulink Real-Time API library
Enter the value returned by the function xPCOpenTcpIpPort.
xPCDeRegisterTarget function causes the
library to completely “forget” about the target communication
properties. Use this function to end a session in which you use xPCOpenConnection and xPCCloseConnection to connect and disconnect
from the target without entering the properties each time. It works
similarly to xPCClosePort, but
does not close the connection to the target computer. Before calling
this function, you must first call the function xPCCloseConnection to close the connection to the target
computer. The combination of calling the xPCCloseConnection and xPCDeRegisterTarget functions has the same result as calling xPCClosePort.