Contenu principal

slrtlinux.wsl.launch

R2026b

Start WSL distribution named SLRT and open a terminal window

Since R2026b

Description

slrtlinux.wsl.launch() start the WSL distribution named SLRT (which is configured for Simulink Real-Time) and opens a terminal window. The session logs in as the slrt user with the working directory set to /home/slrt. The WSL distribution named SLRT must already exist. If the distribution does not exist, the slrtlinux.wsl.launch function reports an error.

example

Examples

collapse all

This example shows how to start running the WSL distribution named SLRT on the Linux target device.

slrtlinux.wsl.launch()

Version History

Introduced in R2026b