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

3 ビュー (過去 30 日間)
BLP
BLP 2023 年 1 月 3 日
コメント済み: James 2023 年 1 月 5 日
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)
James
James 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 Center および File ExchangeBoundary Conditions についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by