View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
new useful urlread-urlreadv

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

Be the first to rate this file! 1 Download (last 30 days) File Size: 1.35 KB File ID: #30627 Version: 1.0

new useful urlread-urlreadv


vimmiv (view profile)


function urlreadv solves most of the "Error downloading URL" problem caused by "urlread"

| Watch this File

File Information

  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


This file inspired Urlread2.

MATLAB release MATLAB 7.11 (R2010b)
Other requirements need java
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
09 Aug 2012 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?

Comment only

Contact us