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

1 Ansicht (letzte 30 Tage)
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 Kommentare
BLP
BLP am 3 Jan. 2023
Bearbeitet: BLP am 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 am 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?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by