Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
How To Find Specific Geometry Name/Identifiers in MATLAB with COMSOL
Posted 27 lug 2020, 13:55 GMT-4 Electromagnetics, Low-Frequency Electromagnetics, LiveLink for MATLAB Version 5.5 3 Replies
Please login with a confirmed email address before reporting spam
Hi,
I'm using COMSOL with MATLAB to build a model which can be altered based on inputs in the MATLAB script to change the geometry and applied voltages in COMSOL. I've been able to change the geometry as needed, however, I'm having trouble with setting the selection for terminals where the voltage would be applied. For example, normally in the COMSOL GUI you would select the terminal by selecting the relevant geometry in the display window. In this case, I need a way to get the "name/number" or identifier of the relevant edge of the electrodes I've created in the MATLAB so I can use that as an input to set my voltage terminal.
Thank you!