Why do I receive the error: Unrecognized function or variable 'applyBoundaryCondition'.
    2 次查看(过去 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 个评论
  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 Exchange 中查找有关 Boundary Conditions 的更多信息
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


