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 Comments

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
Ravi Kumar
Ravi Kumar on 10 Jan 2019
Edited: Ravi Kumar on 10 Jan 2019
Could you please paste the output you see of executing 'which' command? Like:
>> which generateMesh
Regards,
Ravi

Sign in to comment.

Answers (0)

Products

Release

R2017b

Asked:

on 7 Jan 2019

Edited:

on 10 Jan 2019

Community Treasure Hunt

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

Start Hunting!