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 AM EST
Lars Gregersen COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 month ago Feb 18, 2019, 5:58 AM 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).

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.