Problem with GenerateMesh 2017b

Hi Matlab Users,
I have been trying to mesh a polygon I had generated but was facing errors. After a while I decided to run matlab example itself and surprisingly would'nt run either :/
I asked a friend to run on her pc with 2018a and she had the same problem! We both have the PDE toolbox installed though, can anyone point out please where I am doing something silly?
Example:
model = createpde(1);
geometryFromEdges(model,@lshapeg);
generateMesh(model);
pdeplot(model)
The error I am receiving
Too many output arguments.
Many thanks in advance.
Nima

3 件のコメント

Steven Lord
Steven Lord 2019 年 1 月 7 日
Please show the full text of the error message, everything displayed in red. In particular, which function throws the error?
Nima Seifnaraghi
Nima Seifnaraghi 2019 年 1 月 9 日
Hi Steven,
Unfortunately thats all it says :/ If you wish I can get a screenshot from it.
Its a very stange case, I can even run any test code you send in case it helps your debugging.
The model is created correctly with fields
model =
PDEModel with properties:
PDESystemSize: 1
IsTimeDependent: 0
Geometry: [1×1 AnalyticGeometry]
EquationCoefficients: []
BoundaryConditions: []
InitialConditions: []
Mesh: []
SolverOptions: [1×1 PDESolverOptions]
The generate mesh itself is just not doing it:/
Thanks
Ravi Kumar
Ravi Kumar 2019 年 1 月 10 日
編集済み: Ravi Kumar 2019 年 1 月 10 日
Could you please paste the output you see of executing 'which' command? Like:
>> which generateMesh
Regards,
Ravi

サインインしてコメントする。

回答 (0 件)

製品

リリース

R2017b

質問済み:

2019 年 1 月 7 日

編集済み:

2019 年 1 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by