calling xPCOpenTcpIpPort when xpc target is running

1 visualización (últimos 30 días)
Mohamed
Mohamed el 18 de Sept. de 2014
Respondida: Rajiv Ghosh-Roy el 18 de Sept. de 2014
I am calling xPCOpenTcpIpPort from VC application it returns -1 when the XPC target is in loaded and running,, any idea why?

Respuestas (1)

Rajiv Ghosh-Roy
Rajiv Ghosh-Roy el 18 de Sept. de 2014
The most likely cause of this is that you have an open connection from another application, mostly likely MATLAB itself.
If you have build and downloaded the model, you can call tg.close from the MATLAB command line to close the connection (assuming tg is the name of your target object).

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by