Why do I receive the error: Unrecognized function or variable 'applyBoundaryCondition'.
    2 views (last 30 days)
  
       Show older comments
    
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 Comments
  James
      
 on 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?
Answers (0)
See Also
Categories
				Find more on Boundary Conditions in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

