PDE toolbox and load on nodes
21 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I use the PDE Toolbox to analysis a discrete geometry, and I want to put the force vector on a point. But I can't define a point through the syntax "loadedVertex". Is there any other option to define the point? thank you!
0 commentaires
Réponse acceptée
Ravi Kumar
le 10 Déc 2019
The function addVertex was introduced in R2019b. You might be running an older version of the MATLAB to get this error.
Regards,
Ravi
Plus de réponses (2)
Ravi Kumar
le 12 Déc 2019
OK, in that case can you number the number of verteices in the model:
>> gm
Do you see the new VertexID in the plot you make?
Regards,
Ravi
0 commentaires
haoran liu
le 13 Déc 2019
Modifié(e) : haoran liu
le 13 Déc 2019
6 commentaires
Ravi Kumar
le 13 Déc 2019
Thank. Now I see the issue. You generated mesh before adding vertex. Do all geometry operation before generating mesh. If you move the addVertex to right below importGeometry, you should not get this error.
Regards,
Ravi
Voir également
Catégories
En savoir plus sur Geometry and Mesh dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!