How to run .m file through terminal on linux ?

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.

Categories

Asked:

on 31 May 2023

Answered:

on 31 May 2023

Community Treasure Hunt

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

Start Hunting!