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.

Varying Geometric Dimension by Matlab

Please login with a confirmed email address before reporting spam

I bulit a RF model and it works pretty well in Comsol3.5a.
I save it as a m file and it can be run in Matlab in Comsol with matlab also.

Now, I want make a loop for a Geometric Dimension of a domain in matlab. Now the problem is that the definition of geometry in m file is included in a seperated *.mphm file. It is a binaryfile file, so how can I make script to evoke a geometry valiable?

By the way, my model is composed by several simple circles with the same centre. I was wondering why comsol save it as *.mphm.

Is there a good example which show the optimization of a Varying Geometric Dimension by matlab?

Thanks in advance.

0 Replies Last Post Aug 9, 2010, 4:35 AM EDT
COMSOL Moderator

Hello Zhe Wang

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

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.