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 ?

Antworten (1)

Andrei Bobrov
Andrei Bobrov am 24 Mär. 2017
small example:
newer:
[~,a] = yourfunc(vars);
old:
[a,a] = yourfunc(vars);

2 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Environment and Settings finden Sie in Hilfe-Center und File Exchange

Tags

Noch keine Tags eingegeben.

Gefragt:

AJ
am 24 Mär. 2017

Kommentiert:

Jan
am 24 Mär. 2017

Community Treasure Hunt

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

Start Hunting!

Translated by