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

2 次查看(过去 30 天)
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!

请先登录,再进行评论。

更多回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by