How to run a WSL command from Matlab?

Hi everyone... I use an application on WSL called "ss" that I usually run on WSL Terminal, in VS Code. I need to create a Matlab script to run it N times, after automatically changing some entry variables in the same Matlab script. Any idea how can I call the "./ss" command directly from my Matlab script? Thanks

Antworten (1)

the cyclist
the cyclist am 16 Jul. 2023

0 Stimmen

You can use the system function to execute an operating system command

Kategorien

Tags

Gefragt:

am 15 Jul. 2023

Beantwortet:

am 16 Jul. 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by