MATLAB Answers

How can i run the bash shell script in matlab

103 views (last 30 days)
Farik John
Farik John on 29 Jan 2016
Commented: Farik John on 2 Feb 2016
I have the bash file in where there is something like below.
#!/bin/bash
wget http://www.vlfeat.org/sandbox-matconvnet/models/imagenet-vgg-verydeep-16.mat \
--output-document=data/imagenet-vgg-verydeep-16.mat --continue
How can i run this script file?

Answers (1)

Geoff Hayes
Geoff Hayes on 29 Jan 2016
  5 Comments
Farik John
Farik John on 2 Feb 2016
Thanks Geoff and Walter. I managed to find the right command to run it as below. system('c:\cygwin64\bin\bash "d:\MyProject\download.sh"');

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!