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