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

2 vues (au cours des 30 derniers jours)
Allen
Allen le 19 Fév 2018
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

Réponse acceptée

Suraj Mankulangara
Suraj Mankulangara le 22 Fév 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 commentaires
Allen
Allen le 22 Fév 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!
Suraj Mankulangara
Suraj Mankulangara le 22 Fév 2018
Happy to help! Glad the solution worked for you :)

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by