calling xPCOpenTcpIpPort when xpc target is running

조회 수: 1 (최근 30일)
Mohamed
Mohamed 2014년 9월 18일
답변: Rajiv Ghosh-Roy 2014년 9월 18일
I am calling xPCOpenTcpIpPort from VC application it returns -1 when the XPC target is in loaded and running,, any idea why?

답변 (1개)

Rajiv Ghosh-Roy
Rajiv Ghosh-Roy 2014년 9월 18일
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).

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by