Effacer les filtres
Effacer les filtres

Why do I receive the error: Unrecognized function or variable 'applyBoun​daryCondit​ion'.

1 vue (au cours des 30 derniers jours)
BLP
BLP le 3 Jan 2023
Commenté : Jestzer le 5 Jan 2023
Hello everybody,
I am trying to simulate an electrosdtatic field in a chamber coposed of several elements. I have defined the geometry of basic shapes, their names, the formula defining the union of them and assigned properties of material (electromagneticProperties) for the shapes.
After that, I have tried to apply the boundary conditions using the function applyBoundaryCondition e.g.
applyBoundaryCondition(emagmodel,"dirichlet", ...
"Edge",[5 6 7 26 34], ...
"r",250,"h",1);
but I got the error: Unrecognized function or variable 'applyBoundaryCondition'.
Does anybody know why?
  3 commentaires
BLP
BLP le 3 Jan 2023
Modifié(e) : BLP le 3 Jan 2023
Thank you for the link.
Yes, I do have the license nad the Toolbox is installed. Otherwise, I could not use e.g. function electromagneticProperties. Moreover, the shortened result of the ver function is
>> ver
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.13.0.2105380 (R2022b) Update 2
MATLAB License Number: XXXXXXX
Operating System: Microsoft Windows 10 Pro Version 10.0 (Build 19045)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.13 (R2022b)
Partial Differential Equation Toolbox Version 3.9 (R2022b)
Jestzer
Jestzer le 5 Jan 2023
What happens when you try to perform the Dirichlet Boundary Conditions example from the link Stephen posted? Does it still say Unrecognized function or variable?

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by