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

조회 수: 1 (최근 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