Problem 58513. Google Drive: MATLAB mat file download
Matlab 'mat' files are notoriously hard to email and download as they are binary files.
To make a 'mat' file downloadable from Google Drive requires a trick.
Copy the 'mat' file and change its extension to 'PDF'. Place this 'PDF' on the Google Drive.
To download this file into 'mat' form use urlwrite with a Google Drive url, which will need to be fixed, and a destination fname ending in '.mat'
This Challenge is to download a file given a GoogleDrive link and a fname, ending in '.mat', to the local directory.
The file for this URL ends in 'PDF' on a GoogleDrive.
Verification will be done by loading the fname and verifying the size. This file is the ICFP2023 Orchestra Problem set compressed 90% as a mat file.
Solution Stats
Problem Comments
-
1 Comment
William
on 14 Jul 2023
Thanks for passing along these techniques for dealing with Google drive files!
Solution Comments
Show commentsProblem Recent Solvers8
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6529 Solvers
-
Sum all integers from 1 to 2^n
16757 Solvers
-
Sort numbers by outside digits
156 Solvers
-
Calculate the area of a triangle between three points
3305 Solvers
-
Sort complex numbers into complex conjugate pairs
121 Solvers
More from this Author308
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!