Contenu principal

Troubleshoot Issues for Real-Time Linux

R2026b

For questions or issues about your installation of the Embedded Coder® Support Package for Real-Time Linux®, see Install Support Package.

For questions or issues about your installation of the Simulink® Real-Time™ product, see Simulink Real-Time Troubleshooting Basics (Simulink Real-Time).

For more specific troubleshooting solutions, go to the MathWorks® Support website MathWorks Help Center website. The troubleshooting suggestions address these areas:

Troubleshoot slrealtime.testSetup Error

When attempting to set up the Linux target device (virtual machine) by using the slrealtime.testSetup function, an error message appears.

What This Issue Means

The slrealtime.testSetup function cannot access the Linux target device (virtual machine) unless the username and password are set up for passwordless access.

Try These Workarounds

Resolve this issue by setting up passwordless access. For more information, see Set Up Target Device by Using Simulink Real-Time Explorer.

Troubleshoot Windows WSL Installation Issues

When installing a Windows WSL target device, an error message appears.

What This Issue Means

Some typical error symptoms, causes, and resolutions for Windows WSL Installation issues include:

Symptom

Cause

Resolution

Setup fails with WSL install error

WSL not supported or Windows version too old

Verify you are running Windows 10 version 2004 or later

UAC prompt appears during setup

WSL installation requires administrator privileges

Accept the elevation prompt to continue

Target name already exists error

A target with the specified name has already been created

Choose a different name or remove the existing target

Try These Workarounds

Resolve this issue setting up password-less access. For more information, see Set Up Target Device by Using Simulink Real-Time Explorer.

See Also

| | |

Topics