How to change the read-only property of 'Nodes' (from FEMesh) of a PDE model created with the PDE toolbox?

3 visualizzazioni (ultimi 30 giorni)
I am trying to refine a 2D mesh created with geometryFromEdges and generateMesh functions of the PDE Toolbox using functions that I created. I am able to modify the coordinates of the nodes and the elements and visualize the result using trisurf, but I would like to make the changes directly to the pde model, so I can still use the solvepde function.
Here is the error that I am getting when I try to write new coordinates for the nodes:
You cannot set the read-only property 'Nodes' of FEMesh.

Risposte (1)

Yu Zhang
Yu Zhang il 9 Apr 2019
I have the same problem....
Someone here said it is not supported
https://www.mathworks.com/matlabcentral/answers/354278-how-to-edit-a-read-only-property-femesh-data-of-pdemodel

Community Treasure Hunt

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

Start Hunting!

Translated by