How can I eliminate "PDE Toolbox Error! Too many input arguments"?

조회 수: 5 (최근 30일)
Allen
Allen 2018년 2월 19일
댓글: Suraj Mankulangara 2018년 2월 22일
I am modeling diffusion in 2D with circles and rectangles and this error pops up commonly, even (but not always) when I just change the diffusion coefficient between runs. My workflow is
  • Options...Application...Diffusion
  • Draw a circle or circles of the proper size
  • Set boundary conditions (accept defaults)
  • PDE...PDE Specification...input D and Q
  • Mesh...Initialize Mesh...Refine (typically twice)
  • Solve...Parameters...set 10 or so time steps
  • Solve PDE

채택된 답변

Suraj Mankulangara
Suraj Mankulangara 2018년 2월 22일
Hello Allen
This issue most likely occurs because there are one or more functions in your current folder or the userpath (default user work folder) which have the same name as built-in functions of toolboxes.
To work around this issue, rename or remove the conflicting MATLAB file . To find which MATLAB files have the same name as a MATLAB function in a toolbox, go to:
And search for function names to find which of your MATLAB files have the same name as a MATLAB function.
  댓글 수: 2
Allen
Allen 2018년 2월 22일
Thank you. I can make the error come and go by moving from the generic Matlab directory to the subfolder that I was working in. Thanks!
Suraj Mankulangara
Suraj Mankulangara 2018년 2월 22일
Happy to help! Glad the solution worked for you :)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Boundary Conditions에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by