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

Subject: Subscript indices must either be real positive integers or logicals. From: rasika Date: 24 Oct, 2011 08:38:30 Message: 1 of 7 
function [ Int ] = Integrationoverzones( A,l,m,R,Is,t,Ccell) 
Subject: Subscript indices must either be real positive integers or logicals. From: Steven_Lord Date: 24 Oct, 2011 18:54:23 Message: 2 of 7 

Subject: Subscript indices must either be real positive integers or logicals. From: rasika Date: 25 Oct, 2011 03:06:13 Message: 3 of 7 
Hello Steven, 
Subject: Subscript indices must either be real positive integers or logicals. From: Matt J Date: 25 Oct, 2011 13:03:15 Message: 4 of 7 
"rasika " <n.rasika@gmail.com> wrote in message <j83865$7co$1@newscl01ah.mathworks.com>... 
Subject: Subscript indices must either be real positive integers or logicals. From: rasika Date: 25 Oct, 2011 13:41:13 Message: 5 of 7 
yes, I removed that when I ran it from 1:size(t) 
Subject: Subscript indices must either be real positive integers or logicals. From: Matt J Date: 25 Oct, 2011 13:56:29 Message: 6 of 7 
"rasika " <n.rasika@gmail.com> wrote in message <j86e9p$4a$1@newscl01ah.mathworks.com>... 
Subject: Subscript indices must either be real positive integers or logicals. From: rasika Date: 25 Oct, 2011 15:38:31 Message: 7 of 7 
My new code goes like this 
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.