Thread Subject:
Matlab 2007b_Matlab 2010a question

Subject: Matlab 2007b_Matlab 2010a question

From: Aidy

Date: 5 Jan, 2011 04:25:24

Message: 1 of 3

hi everyone,

i have a matlab script, when i open it on the following line:

[~,a] = ismember(b,c,'rows');

I get an error on this line in Matlab 2007b when i run the code , the error is :
"Expression or statement is incorrect--possibly unbalanced (, {, or [ "

However, no such error issue when I run the exact script in Matlab 2010a.

Please, can anyone share as to why this is so?

all the best,
aidy

Subject: Matlab 2007b_Matlab 2010a question

From: Aidy

Date: 5 Jan, 2011 04:58:08

Message: 2 of 3

tilde was the issue, only introduced in 2009 versions for dummy variables

--aiden

Subject: Matlab 2007b_Matlab 2010a question

From: Steven_Lord

Date: 5 Jan, 2011 14:46:35

Message: 3 of 3



"Aidy " <aidenjobe@gmail.com> wrote in message
news:ig0rrk$191$1@fred.mathworks.com...
> hi everyone,
>
> i have a matlab script, when i open it on the following line:
>
> [~,a] = ismember(b,c,'rows');
>
> I get an error on this line in Matlab 2007b when i run the code , the
> error is :
> "Expression or statement is incorrect--possibly unbalanced (, {, or [ "
>
> However, no such error issue when I run the exact script in Matlab 2010a.
>
> Please, can anyone share as to why this is so?

Because the script uses a feature that was introduced in release R2009b and
so will not work in previous releases.

http://www.mathworks.com/help/techdoc/rn/br5fo8o-1.html#br65zmd-1

--
Steve Lord
slord@mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlab.wikia.com/wiki/FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

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.

rssFeed for this Thread

Contact us