I am upgrading my Speedgoat target computer to Simulink Real-Time (SLRT) R2020b or later, which uses a new 64-bit QNX real-time operating system. The target migration and software update were successful, and the Speedgoat boots correctly.
However, the host-target connection between my Speedgoat hardware and MATLAB fails. When I press the Connect button in my model, my SLRT app, or Simulink Real-Time Explorer, MATLAB either hangs or shows errors like:
Cannot connect to target 'TargetPC1': Timed-out waiting for target connection.
Cannot connect to target 'TargetPC1': Cannot connect to target.
Unable to connect to target computer 'TargetPC1': Unable to connect to target computer.
I receive the same error when using the 'connect' command in the MATLAB Command Window:
>> tg= slrealtime;
>> tg.update('force',true);
>> tg.connect
However, clicking the 'Update' or 'Reboot' buttons in Simulink Real-Time Explorer works, indicating that the target is reachable on the network. I can also ping the Speedgoat and access the target command line using an SSH client (e.g., PuTTY).
Additionally, I had no issues with host-target communication in R2020a and earlier using the same setup.