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 ?

Respuestas (1)

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

2 comentarios

AJ
AJ el 24 de Mzo. de 2017
Thank you for your help!
So I can't simply replace it with NOT ?
Jan
Jan el 24 de Mzo. de 2017
Replace it by something like "dummy" or "ignore"

Iniciar sesión para comentar.

Categorías

Más información sobre Environment and Settings en Centro de ayuda y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Preguntada:

AJ
el 24 de Mzo. de 2017

Comentada:

Jan
el 24 de Mzo. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by