audioread cannot open Matlab Drive remote wave file
1 view (last 30 days)
Show older comments
Fernando Perdigão
on 3 Apr 2021
Answered: Walter Roberson
on 3 Apr 2021
I have shared this link: https://drive.matlab.com/sharing/ba96118b-45de-4ce7-b918-45c0bb8ea15b
However I cannot read an audio file in it, for instance:
[x,fs]=audioread('https://drive.matlab.com/sharing/ba96118b-45de-4ce7-b918-45c0bb8ea15b/dtmf001.wav');
The file canot be opened. Why?
0 Comments
Accepted Answer
Walter Roberson
on 3 Apr 2021
MATLAB Drive urls only take you to a web page that allows the file to be previewed or downloaded, but no method is provided to reach the file itself.
I confirmed this with Mathworks; they say that techniques such as websave() will not work.
I suspect that they might be mistaken, that potentially there might be a way to get directly to files, but I have not had time to investigate further.
0 Comments
More Answers (0)
See Also
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!