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
Solution Comments
Show comments
Loading...
Problem Recent Solvers9
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15795 Solvers
-
How to find the position of an element in a vector without using the find function
2815 Solvers
-
1820 Solvers
-
990 Solvers
-
Is the paranthesis sequence balanced ?
203 Solvers
More from this Author305
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Thanks for passing along these techniques for dealing with Google drive files!