Running some commands in the Command prompt automatically

7 views (last 30 days)
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?

Answers (1)

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

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!