% Matlab Java interface example from the documentation

url = java.net.URL('http://www.mathworks.com/support/tech-notes/1100/1109.shtml')
is = openStream(url);
isr = java.io.InputStreamReader(is);
br = java.io.BufferedReader(isr);

for k = 1:259
   s = readLine(br);
end

for k = 1:4
   s = readLine(br);
   disp(s)
end
