Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
显示 更早的评论
nma_laplaceRectNuemann2(nx=3; ny=3; bottom=0; top=170; right=50; lambda=1.2; tol=0.1; nma_laplaceRectNuemann2(nx,ny,bottom,top,right,lambda,tol));
nma_laplaceRectNuemann2(nx=3; ny=3; bottom=0; top=170; right=50; lambda=1.2; tol=0.1; nma_laplaceRectNuemann2(nx,ny,bottom,top,right,lambda,tol));
↑
Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
回答(1 个)
Walter Roberson
2022-3-14
0 个投票
you cannot use semicolon to separate parameters
类别
在 帮助中心 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!