Running some commands in the Command prompt automatically

5 visualizzazioni (ultimi 30 giorni)
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 Commenti
Adam Danz
Adam Danz il 11 Set 2018
Why not just call those commands from your code?
Mr. 206
Mr. 206 il 11 Set 2018
Modificato: Mr. 206 il 11 Set 2018
I don't know how to do that.

Accedi per commentare.

Risposte (1)

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

Accedi per commentare.

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by