MATLAB Answers

audioread cannot open Matlab Drive remote wave file

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

Accepted Answer

Walter Roberson
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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!