How to run .m file through terminal on linux ?

11 次查看(过去 30 天)
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.

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by