Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 428

Where to find more documentation about physics interfaces for use in Livelink for Matlab

$
0
0
I have recently started working with the livelink for Comsol in Matlab. I was able to get things working with the help of the programming reference manual, the introduction to livelink for matlab and livelink for matlab user guide. However I cannot find much information about the commands for specific physics interfaces. Does anybody know where to find this?

For example I tried to apply a voltage to a terminal in a electrostatics simulation with the code below, but this code does not apply any voltage to the simulation. I guess that I have to set the terminal type to voltage first, but I cannot find any information on which command I should use in any of the three manuals.

es = model.physics.create('es','Electrostatics','geom1');
model.physics('es').create('ter1', 'Terminal', 2);
model.physics('es').feature('ter1').selection.set(3);
model.physics('es').feature('ter1').set('V0', '1');

Who can help me out?

Viewing all articles
Browse latest Browse all 428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>