File Exchange

image thumbnail

new useful urlread-urlreadv

version (1.35 KB) by vimmiv
function urlreadv solves most of the "Error downloading URL" problem caused by "urlread"

1 Download

Updated 03 Mar 2011

View License

urlreadv Returns the source code of a URL as a string.
Description: urlreadv is a function based on java,it solves some
problems of the function "urlread",such as "Error downloading URL" and
avoid unreadable codes or gibberish while loading source code that contains
Chinese charcaters

Cite As

vimmiv (2021). new useful urlread-urlreadv (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Renwen Lin

% MY AIM IS: to transform location/address to Latitude and Longitude by

clc; clear;
loc0 = '上海'; loc1 = 'Shanghai';
url0 =['' loc0 '&output=json&sensor=true_or_false&hl=zh-CN&key=' KEY '&region=GB'];
[str2] = urlreadv(url0); % line (1)
% web(url0, '-browser') % line (2)

% MY PROBLEM IS: The result of line(1) differ from line(2);
% Please help me on this issue?

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: urlread2

Community Treasure Hunt

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

Start Hunting!