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 日

0 投票

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

2 件のコメント

AJ
AJ 2017 年 3 月 24 日
Thank you for your help!
So I can't simply replace it with NOT ?
Jan
Jan 2017 年 3 月 24 日
Replace it by something like "dummy" or "ignore"

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeEnvironment 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