Solution 543998

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

Test Suite

Test Status Code Input and Output
1   Fail
%% % Cody External accessibility % This file may need to change in the future in_f=''; out_f='PVPLC.pdf'; urlwrite(in_f,out_f); fid=fopen(out_f); urlwrite_out=fread(fid,128,'*uint8'); % Display Correct Binary Data urlwrite_out(1:16)' block=urlread(in_f); % Display invalid binary data urlread_out=block(1:16)-char(0) % unicode urlread conversion affects bytes 12 thru 15 n=12 byte_val = access_web_pdf(in_f,n) byte_correct=181; assert(isequal(byte_val,byte_correct))

Error: Output argument "y" (and maybe others) not assigned during call to "/users/msssystem7/access_web_pdf.m>access_web_pdf".