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.

Access comsol global definition function from matlab

Please login with a confirmed email address before reporting spam

I have a "Rectangle" function (rect1) defined in the global definition of a comsol file. How could I extract the details of this function (i.e. lower limit, upper limit, size of transition) in matlab?


1 Reply Last Post Feb 18, 2019, 5:58 a.m. EST
Lars Gregersen COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 5 years ago Feb 18, 2019, 5:58 a.m. EST

Open mphnavigator. Navigate to the function you're interested in. Look at the properties pane and identify the properties you need (if you can't guess the meaning of the names then look in the Programming Reference Manual). Click on the property you wish to query. Click "Copy get" and paste the command into the Matlab command window (or an editor).

-------------------
Lars Gregersen
Comsol Denmark
Open mphnavigator. Navigate to the function you're interested in. Look at the properties pane and identify the properties you need (if you can't guess the meaning of the names then look in the Programming Reference Manual). Click on the property you wish to query. Click "Copy get" and paste the command into the Matlab command window (or an editor).

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.