How to run matlab function in Linux command line?

46 次查看(过去 30 天)
Hi!
So I wrote a function in matlab (with one input) and I would like to run it through the Linux command line.
I went through some answers in the community and I saw people saying this command:
matlab -nodisplay -r "functionname(argument1, argument2, argumentN);exit"
But what is "matlab" at the beginning? I am quite lost on what is that and how to obtain this "matlab" command.
Can anyone please shine some light on me with regards to this issue?
Thanks a lot!

采纳的回答

Yro
Yro 2019-8-29
编辑:Yro 2019-8-30
Hi, matlab is the executable once the software is installed on Linux. Check this link where you can check the available startup options: https://la.mathworks.com/help/matlab/ref/matlablinux.html
Regards.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by