Running some commands in the Command prompt automatically

7 visualizaciones (últimos 30 días)
Mr. 206
Mr. 206 el 11 de Sept. de 2018
Comentada: OCDER el 11 de Sept. de 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 comentarios
Adam Danz
Adam Danz el 11 de Sept. de 2018
Why not just call those commands from your code?
Mr. 206
Mr. 206 el 11 de Sept. de 2018
Editada: Mr. 206 el 11 de Sept. de 2018
I don't know how to do that.

Iniciar sesión para comentar.

Respuestas (1)

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

Iniciar sesión para comentar.

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by