xPC Target Explorer Error: Attempting to access the property or method of an invalid object

When I use xPC target explorer to connect the xPC target,it always returned the following errors: Attempting to access the property or method of an invalid object; Then I run "xpctest" in MATLAB command window,it stoped with the following information: ### xPC Target v5.2 Test Suite ### Host-Target interface is: RS-232 on COM2 ### Test 1, Ping target PC 'TargetPC1' using system ping: ... SKIPPED ### Test 2, Ping target PC 'TargetPC1' using xpctargetping: ...Error using xpctest (line 334) error calling xpctargetping I used RS232 to connect the host and target,what's wrong with the xPC target? Thank you in advance for any tips or help!

 採用された回答

Rajiv Ghosh-Roy
Rajiv Ghosh-Roy 2013 年 12 月 6 日
There may be an issue with your RS232 setup. Are you sure you are using a NULL Modem cable? Without this, you won't be able to connect to the target.

1 件のコメント

Xia
Xia 2013 年 12 月 14 日
I solved this problem by using TCP/IP connection .Thanks all the same!!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

質問済み:

Xia
2013 年 11 月 27 日

コメント済み:

Xia
2013 年 12 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by