Error using == Matrix dimensions must agree.
Show older comments
Hi, I want a solution to this problem. Someone can help me?
Error in operations (line 5)
elseif c == 'multi'
Accepted Answer
More Answers (1)
Pronoy Das
on 25 Feb 2021
Edited: Pronoy Das
on 25 Feb 2021
2 votes
I came across a similar problem. Simply replace the single quotation marks with the double quotation marks, i.e. replace the line in your code with
c == "multi"
Categories
Find more on Logical 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!