Hello, I am working on a MATLAB function to calculate my pressure for Comsol. Now my function is working. How can I tell Comsol that i want the x,y,z position? So: In the Global Definitions now I do have a Matlab function called MATLAB1. In this function I have defined my MATLAB function like this:
function name: pressure
Arguments: x,y,z
I tried to call the function in the components via: pressure(x,y,z), but I keep getting the error: unexpected unit of Input. Do I need to declare my Matlab function otherwise? And: How do I tell Comsol that I want the x,y,z coordinates there? Any suggestions?
Kind regards,