When set up and configure xPC Target, why it has error messages: "Can not get interface ip address" "Batch file could not be creadted"
조회 수: 1 (최근 30일)
이전 댓글 표시
When I the fist time set up and configure xPC Target, it has messages: "Can not get interface ip address" and then "Batch file could not be creadted". Anyone can help me explaint why it is, and what I have to do??? Thanks a lot!
(****This is my computers set up:
- My host PC:Deskop PC,two ethernet card (Realtek PCIe GBE Family Controller, CH9200 USB Ethernet Adapter #2), Window 7 Enterprise SP1, Matlab R2013b, Microsoft Visual Studio Premium 2012
- My target PC: Laptop PC, one ethernet card (Realtek PCIe GBE Family Controller), Windows 10 Pro, Matlab R2013b, Microsoft Visual Studio Professional 2013 with update 5
- Host PC and Target PC communicate: using an crossover unshielded twisted-pair cable with RJ45; and I've set up ethernet card on two PCs to static ip address***)
댓글 수: 0
채택된 답변
Suneesh
2015년 9월 9일
Sometimes happens due to the network not being "active". Try to turn on the target and when BIOS loads it should power up the card on the target causing the network to be established. At this point try to create the boot image. Once that completes, restart the target.
댓글 수: 0
추가 답변 (2개)
João Henrique Neme
2017년 6월 5일
The problem is probably the Matlab path. You must be using a protected folder. Change it to Documents/Matlab. Should work.
댓글 수: 0
Ali Asghar Pourostad
2019년 9월 28일
I had this problem and I debuged matlab code and found that matlab shouldn't be installed in directory using space " "
for expample u shouldn't install matlab in Program Files
I used cut and paste matlab folder to dirve root and my problem solved
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!