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 ?

Risposte (1)

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

2 Commenti

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

Accedi per commentare.

Categorie

Scopri di più su Environment and Settings in Centro assistenza e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Richiesto:

AJ
il 24 Mar 2017

Commentato:

Jan
il 24 Mar 2017

Community Treasure Hunt

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

Start Hunting!

Translated by