MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > While loop fails 

I am trying to get a while loop to work. I have an integer T, that I converted to double using the function double. But when I print the value of double T, it shows T as an integer and not as a double. Therefore my loop fails. This is the code: 
"Julio Gonzalez" <julio@parttimescientists.com> wrote in message <j7sh2e$q77$1@newscl01ah.mathworks.com>... 
"ScottB" wrote in message <j7siql$37t$1@newscl01ah.mathworks.com>... 
"Julio Gonzalez" <julio@parttimescientists.com> wrote in message <j7sh2e$q77$1@newscl01ah.mathworks.com>... 
On Oct 21, 6:15 pm, "Julio Gonzalez" <ju...@parttimescientists.com> 
"Parag S. Chandakkar" <parag2489@gmail.com> wrote in message <86476fac163d4e6e99e00373558ecc9d@t38g2000prg.googlegroups.com>... 
On 10/21/2011 8:15 PM, Julio Gonzalez wrote: 
dpb <none@non.net> wrote in message <j7v0n2$qof$1@speranza.aioe.org>... 
On 10/23/2011 10:10 AM, Julio Gonzalez wrote: 
With all due respect, 
"Julio Gonzalez" <julio@parttimescientists.com> wrote in message <j81n2a$j0b$1@newscl01ah.mathworks.com>... 
"Roger Stafford" wrote in message <j81off$mrp$1@newscl01ah.mathworks.com>... 

"Julio Gonzalez" <julio@parttimescientists.com> wrote in message <j7sh2e$q77$1@newscl01ah.mathworks.com>... 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.