Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Logical indexing is not yet supported in Matlab Embedded??
Date: Sat, 27 Feb 2010 11:25:07 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 13
Message-ID: <hmavej$8mm$1@fred.mathworks.com>
References: <hm9s1v$6gl$1@fred.mathworks.com> <0eea2f66-3f18-441d-b4c2-6e7eca023552@b9g2000pri.googlegroups.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1267269907 8918 172.30.248.35 (27 Feb 2010 11:25:07 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 27 Feb 2010 11:25:07 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2240567
Xref: news.mathworks.com comp.soft-sys.matlab:612191

TideMan <mulgor@gmail.com> wrote in message <0eea2f66-3f18-441d-b4c2-6e7eca023552@b9g2000pri.googlegroups.com>...
> On Feb 27, 2:21 pm, "ASL Bravo" <engr...@live.co.uk> wrote:
> > Hi,
> > I am writing a simple prog to get rid of <0 elements of array, see below
> > a = [u1, u2, u3, u4];
> > b = a(:)>= 0;
> > c = a(b);
> >
> > however matlab embedded doesnt allow dynamic indexing, any help to get around this??  have to generate code and implement on a real time device. thanks
> 
> c=a(a>=0);

Reply>> same error again EML does not support logical indexing. Need help!