Cody

Problem 1995. Loading/Expanding a ZIP file from File Exchange

Solution 541038

Submitted on 5 Dec 2014 by Binbin Qi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
%% url_link='http://www.mathworks.com/matlabcentral/fileexchange/44314-cody-knotssample-zip-file?download=true'; load_file(url_link); z=dir; valid=0; for k=1:size(z,1) if strcmp(z(k).name,'Knots_sample.mat') valid=1; break; end end assert(valid==1); assert(z(k).bytes==58803)

Suggested Problems

More from this Author241

Community Treasure Hunt

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

Start Hunting!