problem with matlab 2009
Show older comments
Dear all,
I have the expression
[~,k] = ismember(raw6{ii,8}(1:2),{'MAT','FMI' });
IN matlab 2012 there is no problem when I run it.
IN matlab 2009 I get the following error message
Error: Expression or statement is incorrect--possibly unbalanced (, {, or
[.
thanks
Accepted Answer
More Answers (1)
Daniel Shub
on 3 Aug 2012
0 votes
the ~ to ignore output arguments is a relatively new addition. Just replace ~ with temp. See my answer about problems with doing a global search.
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!