How to run .m file through terminal on linux ?

16 visualizaciones (últimos 30 días)
Shreyash Agrawal
Shreyash Agrawal el 31 de Mayo de 2023
Respondida: Steven Lord el 31 de Mayo de 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.

Respuestas (1)

Steven Lord
Steven Lord el 31 de Mayo de 2023
Try starting MATLAB with the -batch option.

Categorías

Más información sobre Environment and Settings en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by