Path: news.mathworks.com!not-for-mail
From: "Ralph " <rb@bennett-eng.com>
Newsgroups: comp.soft-sys.matlab
Subject: text to integer conversion
Date: Thu, 16 Aug 2007 00:03:42 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 14
Message-ID: <fa048u$5ls$1@fred.mathworks.com>
Reply-To: "Ralph " <rb@bennett-eng.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1187222622 5820 172.30.248.37 (16 Aug 2007 00:03:42 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 16 Aug 2007 00:03:42 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1079091
Xref: news.mathworks.com comp.soft-sys.matlab:424072



I am a beginning MatLab programmer,

I have the string: 
&#8220;RTop=0 LTop=35 LBot=36 RBot=25 &#8220;
I want to convert the 0, 35, 36 & 25 values to independent
integers.  

I used the command: 
&#8220;headCountPos = findstr(textLine,'=');&#8221;
to determine the position in the string where each value
starts but don&#8217;t know how to extract and convert each value
to an integer.  Each value will never exceed 99.