Running some commands in the Command prompt automatically

9 vues (au cours des 30 derniers jours)
Mr. 206
Mr. 206 le 11 Sep 2018
Commenté : OCDER le 11 Sep 2018
Is there any way to run some command automatically in the command prompt like "sudo apt-get install ...." every time i run my MATLAB code?
  2 commentaires
Adam Danz
Adam Danz le 11 Sep 2018
Why not just call those commands from your code?
Mr. 206
Mr. 206 le 11 Sep 2018
Modifié(e) : Mr. 206 le 11 Sep 2018
I don't know how to do that.

Connectez-vous pour commenter.

Réponses (1)

OCDER
OCDER le 11 Sep 2018
  4 commentaires
Mr. 206
Mr. 206 le 11 Sep 2018
It is not saying an error but printing this:
sudo: no tty present and no askpass program specified
ans = 1

Connectez-vous pour commenter.

Catégories

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

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by