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

Answers (1)

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

Categories

Tags

Asked:

on 15 Jul 2023

Answered:

on 16 Jul 2023

Community Treasure Hunt

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

Start Hunting!