MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > Subscript indices must either be real positive int... 

Subject: Subscript indices must either be real positive integers or logicals From: matt reister Date: 18 Jan, 2010 09:08:03 Message: 1 of 14 
I have a rather simple matlab script that I am recieving the following error on: 
Subject: Subscript indices must either be real positive integers or logicals From: Oleg Komarov Date: 18 Jan, 2010 09:36:02 Message: 2 of 14 
"matt reister" 
Subject: Subscript indices must either be real positive integers or logicals From: Oleg Komarov Date: 18 Jan, 2010 09:45:19 Message: 3 of 14 
"Oleg Komarov" 
Subject: Subscript indices must either be real positive integers or logicals From: Steve Amphlett Date: 18 Jan, 2010 09:50:04 Message: 4 of 14 
"matt reister" <mattreister@hotmail.com> wrote in message <hj18dj$8a3$1@fred.mathworks.com>... 
Subject: Subscript indices must either be real positive integers or logicals From: Oleg Komarov Date: 18 Jan, 2010 10:44:03 Message: 5 of 14 
"Steve Amphlett" 
Subject: Subscript indices must either be real positive integers or logicals From: Matt J Date: 18 Jan, 2010 12:37:03 Message: 6 of 14 
"Steve Amphlett" <Firstname.Lastname@WhereIWork.com> wrote in message <hj1asc$h12$1@fred.mathworks.com>... 
Subject: Subscript indices must either be real positive integers or logicals From: Steve Amphlett Date: 18 Jan, 2010 13:51:03 Message: 7 of 14 
"Oleg Komarov" <oleg.komarovRemove.this@hotmail.it> wrote in message <hj1e1j$8vb$1@fred.mathworks.com>... 
Subject: Subscript indices must either be real positive integers or logicals From: Matt J Date: 18 Jan, 2010 14:32:02 Message: 8 of 14 
"Steve Amphlett" <Firstname.Lastname@WhereIWork.com> wrote in message <hj1p07$kva$1@fred.mathworks.com>... 
Subject: Subscript indices must either be real positive integers or logicals From: Steve Amphlett Date: 18 Jan, 2010 14:54:04 Message: 9 of 14 
"Matt J " <mattjacREMOVE@THISieee.spam> wrote in message <hj1rd2$qn1$1@fred.mathworks.com>... 
Subject: Subscript indices must either be real positive integers or logicals From: Jan Simon Date: 18 Jan, 2010 17:17:20 Message: 10 of 14 
Dear Oleg! 
Subject: Subscript indices must either be real positive integers or logicals From: matt reister Date: 18 Jan, 2010 21:48:04 Message: 11 of 14 
"matt reister" <mattreister@hotmail.com> wrote in message <hj18dj$8a3$1@fred.mathworks.com>... 
Subject: Subscript indices must either be real positive integers or logicals From: Oleg Komarov Date: 18 Jan, 2010 22:41:05 Message: 12 of 14 
"Jan Simon" 
Subject: Subscript indices must either be real positive integers or logicals From: Keith Yushkov Date: 11 Nov, 2010 10:49:03 Message: 13 of 14 

Subject: Subscript indices must either be real positive integers or logicals From: Keith Yushkov Date: 11 Nov, 2010 11:10:06 Message: 14 of 14 
> > And to avoid any loop: 
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.