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

60 views (last 30 days)
浩然 向
浩然 向 on 24 Mar 2023
Answered: Abhijeet on 5 Apr 2023
function dx=smcjr2(t,x,flag,para)

Answers (1)

Abhijeet
Abhijeet on 5 Apr 2023
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

Categories

Find more on 编程 in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!