Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
Show older comments
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.
Answers (1)
Walter Roberson
on 14 Mar 2022
0 votes
you cannot use semicolon to separate parameters
Categories
Find more on Matrix Indexing 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!