simulink real-time xpctest Test4 falied

조회 수: 9 (최근 30일)
豪 张
豪 张 2021년 12월 24일
댓글: zhen 2024년 2월 25일
>> xpctest
### Simulink Real-Time Test Suite
### Host-Target interface is: TcpIp
### Test 1, Ping target computer 'TargetPC1' using system ping: ... OK
### Test 2, Ping target computer 'TargetPC1' using SLRTPINGTARGET: ... OK
### Test 3, Software reboot the target computer 'TargetPC1': .... OK
### Test 4, Build and download a Simulink Real-Time application using model slrttestmdl to target computer 'TargetPC1': ...
FAILED: Error(s) encountered while building "slrttestmdl"

답변 (2개)

Dimitri MANKOV
Dimitri MANKOV 2022년 1월 3일
편집: Dimitri MANKOV 2022년 1월 3일
This test failure indicates that the Simulink model could not be built. It can be due to a number of reasons, like a missing compiler or license, or a host-target communication issue. I suggest opening any Simulink Real-Time test model (like "xpcosc", for example):
open_system(fullfile(matlabroot,'toolbox','rtw','targets','xpc','xpcdemos','xpcosc'));
... and building it manually to get more details about the failure from the Diagnostics Viewer.

浩 王
浩 王 2022년 12월 17일
I meet the same pronlem. Did you solve it?
  댓글 수: 2
凯
2023년 7월 8일
yes yes,i can ,i am liuhao
zhen
zhen 2024년 2월 25일
Can you help me? thanks

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Target Computer Setup에 대해 자세히 알아보기

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by