simulink real-time xpctest Test4 falied
10 views (last 30 days)
Show older comments
>> 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"
0 Comments
Answers (2)
Dimitri MANKOV
on 3 Jan 2022
Edited: Dimitri MANKOV
on 3 Jan 2022
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.
0 Comments
See Also
Categories
Find more on Target Computer Setup in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!