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 个评论

Please show the full text of the error message, everything displayed in red. In particular, which function throws the error?
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
Could you please paste the output you see of executing 'which' command? Like:
>> which generateMesh
Regards,
Ravi

请先登录,再进行评论。

回答(0 个)

产品

版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by