How to run matlab function in Linux command line?

조회 수: 26 (최근 30일)
Kash Costello
Kash Costello 2019년 8월 29일
댓글: Kash Costello 2019년 8월 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.
  댓글 수: 3
Yro
Yro 2019년 8월 30일
편집: Yro 2019년 8월 30일
I don't know why it doesn't work, copy the following link and paste it in the browser.
Kash Costello
Kash Costello 2019년 8월 30일
Thanks!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by