Operator errors in old matlab code

1 回表示 (過去 30 日間)
Aashutosh Swami
Aashutosh Swami 2022 年 4 月 15 日
回答済み: Mahmoud Ashraf 2022 年 4 月 15 日
I have received some old matlab codes which I have to work with. It has "/=" and "*=" in the code. It is showing errors.

回答 (1 件)

Mahmoud Ashraf
Mahmoud Ashraf 2022 年 4 月 15 日
MATLAB doesn't have that syntax.
the syntax shoud be
x=x*1 not x*=1

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by