The target PC 1 is not connecting for real time simulation, what is the solution for it?
15 次查看(过去 30 天)
显示 更早的评论
Dear sir/Mam,
I'm having trouble for conecting PC 1 on real time explorer,
### 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': Error using slrttest (line 160)
TargetPC1: Port is not open.
and
slrttest('noreboot')
### 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': ... SKIPPED
### Test 4, Build and download a Simulink Real-Time application using model slrttestmdl to target computer 'TargetPC1': ...
FAILED: The compiler for Simulink Real-Time application builds must be a supported Microsoft Visual Studio compiler. Either select a Microsoft compiler as the MEX compiler, or override the MEX compiler with slrtsetCC.
0 个评论
回答(1 个)
Diego Kuratli
2024-1-10
This error can appear in R2020a and older MATLAB releases. In newer MATLAB releases, Simulink Real-Time no longer requires a Microsoft Visual Studio compiler.
To setup the compiler, see: Command-Line C Compiler Configuration - MATLAB & Simulink (mathworks.com)
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!