Problem 779. Read a Text file from a URL and create an {N x 1} Cell Array

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.


URL/File string (eg '') (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:





{2x1 cell}



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

30.0% Correct | 70.0% Incorrect
Last solution submitted on Nov 10, 2014

Problem Comments

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!