The target PC 1 is not connecting for real time simulation, what is the solution for it?
15 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Diego Kuratli
am 10 Jan. 2024
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 Kommentare
Siehe auch
Kategorien
Mehr zu Target Computer Setup finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!