Clear Filters
Clear Filters

Operator errors in old matlab code

1 view (last 30 days)
Aashutosh Swami
Aashutosh Swami on 15 Apr 2022
Answered: Mahmoud Ashraf on 15 Apr 2022
I have received some old matlab codes which I have to work with. It has "/=" and "*=" in the code. It is showing errors.

Answers (1)

Mahmoud Ashraf
Mahmoud Ashraf on 15 Apr 2022
MATLAB doesn't have that syntax.
the syntax shoud be
x=x*1 not x*=1


Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!