Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

8 views (last 30 days)
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
Walter Roberson on 14 Mar 2022
you cannot use semicolon to separate parameters

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!