调用函数或对变量进行索引时,请使用圆 括号。否则,请检查不匹配的分隔符

61 次查看(过去 30 天)
浩然 向
浩然 向 2023-3-24
回答: Abhijeet 2023-4-5
function dx=smcjr2(t,x,flag,para)

回答(1 个)

Abhijeet
Abhijeet 2023-4-5
Hi,
The error message "Use parentheses when calling functions or indexing variables. Otherwise, check for unmatched delimiters" suggests that there is an issue with the syntax of the function call.
To resolve this error, make sure that any function calls or variable indexing in the function are enclosed in parentheses when necessary. Check that all opening and closing parentheses, brackets, and braces match correctly.
Thanks

类别

Help CenterFile Exchange 中查找有关 MATLAB 快速入门 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!