Expression or statement is incorrect--possibly unbalanced (, {, or [.

Hi, I'm using the version MATLAB 2007b. The code was written in a newer version. How can I replace [~, in 2007 to get the code played ?

Answers (1)

small example:
newer:
[~,a] = yourfunc(vars);
old:
[a,a] = yourfunc(vars);

2 Comments

Thank you for your help!
So I can't simply replace it with NOT ?
Replace it by something like "dummy" or "ignore"

Sign in to comment.

Categories

Find more on Environment and Settings in Help Center and File Exchange

Tags

No tags entered yet.

Asked:

AJ
on 24 Mar 2017

Commented:

Jan
on 24 Mar 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!