Nonlinear Heat Transfer In a Thin Plate - bug in example?
1 回表示 (過去 30 日間)
古いコメントを表示
Hello,
I am trying to run the script on nonlinear heat transfer in a thin plate: http://www.mathworks.com/help/pde/examples/nonlinear-heat-transfer-in-a-thin-plate.html
However at the following line: pb = pde(numberOfPDE); I get the following error message: (FEMtest is my own script)
"Error using pde (line 8) Not enough input arguments. Error in FEMtest (line 61) pb = pde(numberOfPDE);"
could you help me getting rid of this message?
Also I noticed my 'pde.m' looks funny, at least to me:
"function [c,f,s] = pde(x,t,u,DuDx)
%PDE pde demo function
% Copyright 1984-2005 The MathWorks, Inc. % $Revision: 1.2.4.1 $ $Date: 2005/06/09 04:39:07 $
c = pi^2; f = DuDx; s = 0; "
0 件のコメント
回答 (2 件)
Bill Greene
2014 年 10 月 18 日
What version of MATLAB are you running?
The documentation page you are pointing to is for the R2014b version of MATLAB. The error you are getting is at a line for a feature that was introduced in the R2014b version of PDE Toolbox.
Bill
0 件のコメント
Peter Rindt
2014 年 10 月 18 日
1 件のコメント
Bill Greene
2014 年 10 月 19 日
If your version is R2012b (note the "b"), you can run that example simply by typing "heatTransferThinPlateExample" at the MATLAB command prompt. That example requires the nonlinear capabilities of the parabolic function. Before R2012b, parabolic was limited to linear equations.
Bill
参考
カテゴリ
Help Center および File Exchange で Boundary Conditions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!