How to run .m file through terminal on linux ?

12 vues (au cours des 30 derniers jours)
Shreyash Agrawal
Shreyash Agrawal le 31 Mai 2023
I am trying to run .m files on a remote system. I have connected to the system via SSH so I do not have any interface. I only have command line , and I need to run the code on it. Moreover, it is a dataset generation process so I need to save the data also. Please guide me on how to do this.

Réponses (1)

Steven Lord
Steven Lord le 31 Mai 2023
Try starting MATLAB with the -batch option.

Catégories

En savoir plus sur Environment and Settings dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by