Given a URL string for a text file, read the text file and store the contents into a cell array.
The text file will have contiguous characters on different lines.
Inputs:
URL/File string (eg 'http://www.toobigforemail.com/cryptkeeper.toobig?npp=xgz8xdyx') (This is close but not a valid link)
This is a link to a text file.
Note: I tried to use my Google WebPage but it is an "https".
urlread for 2012a does not like https sites. (2012b???)
Typical Text File:
read2cell.txt
abcd
wxyz
Output:
{2x1 cell}
'abcd'
'wxyz'
This is intended as an introductory function usage.
Follow up will be, "Is it a valid scrabble word?", once I find that scrabble dictionary.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers10
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2816 Solvers
-
1441 Solvers
-
First non-zero element in each column
955 Solvers
-
519 Solvers
-
Return elements unique to either input
812 Solvers
More from this Author306
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
links don't seem to be working any longer...
Yes.
I will fix the dead link.
:-( "Error: Error downloading URL. Your network connection may be down or your proxy settings improperly configured."
I need to place link in another location that will last.