I am trying to upgrade my Speedgoat target computer to Simulink Real-Time R2020b or later, which comes with a new 64-bit QNX real-time operating system.
The target migration and software update were successful. On the target screen, I can see that the Speedgoat boots correctly.
However, the host-target connection between my Speedgoat hardware and MATLAB fails. When I press the connection button in Simulink Real-Time Explorer, MATLAB will either hang, or I get errors such as the following:
Cannot connect to target 'TargetPC1': Timed-out waiting for target connection.\nCannot connect to target 'TargetPC1': Cannot connect to target.
I receive the same error when I try to connect to my Speedgoat using the 'connect' command in the MATLAB Command Window:
>> tg= slrealtime;\n>> tg.update('force',true);\n>> tg.connect
However, clicking the 'Update' or 'Reboot' buttons in Simulink Real-Time Explorer will work, indicating that the target can be reached on the network. I am able to ping the Speedgoat, and I can access the target command line using an SSH client (e.g. PuTTY).
Furthermore, I had no issues with the host-target communication in R2020a and earlier using the exact same setup.