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 Center および File ExchangeDownloads についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by