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 ?

Réponses (1)

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

2 commentaires

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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Environment and Settings dans Centre d'aide et File Exchange

Tags

Aucun tag saisi pour le moment.

Question posée :

AJ
le 24 Mar 2017

Commenté :

Jan
le 24 Mar 2017

Community Treasure Hunt

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

Start Hunting!

Translated by