Clear Filters
Clear Filters

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

2 views (last 30 days)
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

Accepted Answer

Suraj Mankulangara
Suraj Mankulangara on 22 Feb 2018
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 Comments
Allen
Allen on 22 Feb 2018
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!

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!