xPC Target Explorer Error: Attempting to access the property or method of an invalid object
조회 수: 1 (최근 30일)
이전 댓글 표시
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!
댓글 수: 0
채택된 답변
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.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Target Computer Setup에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!