Effacer les filtres
Effacer les filtres

How to run matlab function in Linux command line?

46 vues (au cours des 30 derniers jours)
Kash Costello
Kash Costello le 29 Août 2019
Commenté : Kash Costello le 30 Août 2019
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!

Réponse acceptée

Yro
Yro le 29 Août 2019
Modifié(e) : Yro le 30 Août 2019
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 commentaires
Yro
Yro le 30 Août 2019
Modifié(e) : Yro le 30 Août 2019
I don't know why it doesn't work, copy the following link and paste it in the browser.
Kash Costello
Kash Costello le 30 Août 2019
Thanks!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by