Why do I receive an error when trying to set the grid spacing in the PDETOOL within the Partial Differential Equation Toolbox 1.0.5 (R14)?

2 views (last 30 days)
When I try to change the grid spacing within the PDETOOL using the following steps:
1. Type
pdetool
in the command window.
2. Select "Options -> Grid Spacing...".
3. Deselect "Auto", and change the data in the field to be, for example, "1:10".
4. Click "Apply".
I receive a dialogue window saying
Cannot evaluate edit field input.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This problem has been fixed in the Partial Differential Equation Toolbox 1.0.6 (R14SP1). If you are using the Partial Differential Equation Toolbox 1.0.5 (R14), to work around this issue, perform the following steps:
1. Type "edit pdespdlg" in the command window.
2. In pdespdlg.m, change line 29 from:
s=m(i,:);
to:
s = eval(m(i, :));
3. Click the "Save" button.
4. Rehash your toolbox path cache using REHASH TOOLBOXCACHE to cause MATLAB to recognize the change.

More Answers (0)

Categories

Find more on Partial Differential Equation Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!