Running some commands in the Command prompt automatically
Show older comments
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 Comments
Adam Danz
on 11 Sep 2018
Why not just call those commands from your code?
Answers (1)
OCDER
on 11 Sep 2018
0 votes
Use system to run command line codes from matlab.
If you want to run multiple commands, you could use something like ; for linux and & for Windows.
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!