unable to execute curl -s http: on windows

2 views (last 30 days)
Khurram Qazi
Khurram Qazi on 12 Feb 2016
Edited: Guillaume on 13 Feb 2016
I am executing music processing code on matlab2015a. but and error is still occurring and i am unable to resolve that issue kindly help me out to solve that issue
picture of error is attached as well as code files are also attached
  1 Comment
Khurram Qazi
Khurram Qazi on 13 Feb 2016
that issue has been resolved by replacing r = mysystem(['curl -s ',p,... ' | grep href | sed -e ''s/.*href=\"\([^\"]*\)\".*/\1/'' | grep ''',... n,'''']);
by
r = mysystem(['"bin/curl.exe" -s ',p,... ' | grep href | sed -e ''s/.*href=\"\([^\"]*\)\".*/\1/'' | grep ''',... n,'''']);
but no new error is occurring kindly help me to resole this with proper piece of code
error image is attached here with and also guide me where i change your above mentioned code
regards

Sign in to comment.

Answers (2)

Walter Roberson
Walter Roberson on 12 Feb 2016
Unfortunately that code is designed for OS-X or Linux. You need to have a look at the notes about adapting it for use with Windows; see http://labrosa.ee.columbia.edu/matlab/fingerprint/windows-notes.txt

Guillaume
Guillaume on 13 Feb 2016
With regards to your new error message, it looks very clear to me. Your mp3info program cannot find the mp3 file.
The fix to this would be to pass the full path of the mp3 file to mp3info.
  8 Comments
Khurram Qazi
Khurram Qazi on 13 Feb 2016
the issue i have got is that now i have fixed the path of file name with file name as well and i donot know that from where it is getting file 'MVI_1304_ref.mp3' and creating error.is it temporary file or what is this as you can see from the code file..kindly guide me properly and if you have any for audio fingerprinting and also give me proper piece of code for getting audio files from website or servers
Guillaume
Guillaume on 13 Feb 2016
Edited: Guillaume on 13 Feb 2016
I know nothing about audio fingerprinting. I do not have any code to give you.
" i do not know that from where it is getting file 'MVI_1304_ref.mp3'": You're passing it on line 19 of robustAlgorithm to add_tracks through the cell array tks. I assume that robustAlgorithm is your own code, therefore only you know how that file ended up in tks.
If you can't figure it out. I suggest you learn to use matlab debugger. Step through your program one line at time, observing what is in each of your variables. You'll soon know where the file name is coming from.

Sign in to comment.

Categories

Find more on Manage Products 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!