How do I run MATLAB from the mac terminal?
399 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Cristian Sanchez Montesinos
le 3 Fév 2019
Commenté : Marco cazzaniga
le 16 Fév 2023
I am trying to run MATLAB from the mac OS X terminal. I'm using macOS Mojave version 10.14.2, and MATLAB R2018b. What I'm doing is:
- I open the terminal
- Go to /Applications
- pe MATLAB_R2018
However, I get the following:
-bash: MATLAB_R2018b: command not found
Can someone help me with this?
Thanks.
0 commentaires
Réponse acceptée
Ken Atwell
le 4 Fév 2019
I do this:
open /Applications/MATLAB_R2018b.app/
Plus de réponses (2)
Walter Roberson
le 5 Fév 2019
alias matlab="/Applications/MATLAB_R2018b.app/bin/matlab -nojvm -nodesktop"
I put the above in my ~/.bash_profile
3 commentaires
Peiwei Liu
le 20 Oct 2021
In terminal on mac, type this:
/Applications/Polyspace/R2019b/bin/matlab; exit;
Please adjust this to your own path. Works!
Voir également
Catégories
En savoir plus sur Startup and Shutdown 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!