How to run .m file through terminal on linux ?

24 views (last 30 days)
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.

Answers (1)

Steven Lord
Steven Lord on 31 May 2023
Try starting MATLAB with the -batch option.

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!