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

3 次查看(过去 30 天)
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 个评论
BLP
BLP 2023-1-3
编辑:BLP 2023-1-3
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 2023-1-5
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?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by