Running multiple matlab .m files

23 views (last 30 days)
Mahith Madhana Kumar
Mahith Madhana Kumar on 22 Feb 2021
Hi all,
I was wondering how to simultaneously run .m matlab files (about 10 of them) from a linux terminal. I went through this link -, but that was using functions wherein in my case I have multiple .m matlab files containing just lines of codes and no functions inside it.
I was opening up multiple terminals and using the command:
matlab -nodisplay -nosplash -nodesktop -r "run('path/to/your/script.m');exit;" | tail -n +11
to run multiple .m matlab files simultaneously but matlab keeps crashing in some cases while doing this. Any way to fix this?
Mahith M

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by