I have a code but it keep saying "invalid expression. when calling a function or indexing a variable, use parentheses. otherwise check for mismatched delimiters.

回答(1 个)

You have 10 open parentheses "(" but only 9 close parentheses ")".
I can't say for sure whether (or where) you need to remove an open parenthesis or add a close parenthesis, but if I had to guess, I would say you can add a close parenthesis just before the comma.

类别

帮助中心File Exchange 中查找有关 Entering Commands 的更多信息

产品

版本

R2023a

提问:

2023-8-28

回答:

2023-8-28

Community Treasure Hunt

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

Start Hunting!

Translated by