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 ?

답변 (1개)

Andrei Bobrov
Andrei Bobrov 2017년 3월 24일
small example:
newer:
[~,a] = yourfunc(vars);
old:
[a,a] = yourfunc(vars);

댓글 수: 2

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

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Environment and Settings에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

질문:

AJ
2017년 3월 24일

댓글:

Jan
2017년 3월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by