フィルターのクリア

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

2 ビュー (過去 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 Center および File ExchangeBoundary Conditions についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by