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

Réponses (1)

the cyclist
the cyclist le 16 Juil 2023

0 votes

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

Catégories

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by