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 Kommentare

Steven Lord
Steven Lord am 7 Jan. 2019
Please show the full text of the error message, everything displayed in red. In particular, which function throws the error?
Nima Seifnaraghi
Nima Seifnaraghi am 9 Jan. 2019
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 am 10 Jan. 2019
Bearbeitet: Ravi Kumar am 10 Jan. 2019
Could you please paste the output you see of executing 'which' command? Like:
>> which generateMesh
Regards,
Ravi

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Produkte

Version

R2017b

Gefragt:

am 7 Jan. 2019

Bearbeitet:

am 10 Jan. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by