Greetings,
I'm trying to take a specified data from a html text using MATLAB.
Here is a sample html text(lines 12-18):
<FONT SIZE=+1 COLOR="#800000">TONIGHT</FONT>EAST WINDS 10 TO 15 KNOTS. SEAS 3 TO 4 FEET. ISOLATEDSHOWERS. <FONT SIZE=+1 COLOR="#800000">SATURDAY</FONT>EAST WINDS 12 TO 16 KNOTS. SEAS 3 TO 4 FEET. ISOLATEDSHOWERS.
I want to take the headings 'Tonight' and 'Saturday' (Line 12 and 18) thus the data 'EAST WINDS 10 TO 15 KNOTS. SEAS 3 TO 4 FEET. ISOLATED SHOWERS.' and 'EAST WINDS 12 TO 16 KNOTS. SEAS 3 TO 4 FEET. ISOLATED SHOWERS. ' leaving me with an output of:
TONIGHTEAST WINDS 10 TO 15 KNOTS. SEAS 3 TO 4 FEET. ISOLATEDSHOWERS.SATURDAYEAST WINDS 12 TO 16 KNOTS. SEAS 3 TO 4 FEET. ISOLATEDSHOWERS.
I want to use textscan or fscanf to make MATLAB scan the text file and leave me an output of just the plain text without de html tags.
Thank you for your time
Best Answer