Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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.

Assign material to a certain area in LiveLink to Matlab

Please login with a confirmed email address before reporting spam

Hello! I create model in Comsol, save as M-file. I want to edit this file for batch solving. I sink this strings uses for compliance new material with certain area:
"
model.material.create('mat1');
model.material('mat1').selection.set([1]);
model.material.create('mat4');
model.material('mat4').selection.set([5]);
"
and so on.

How to find out what is this area ("1" and "5")?
I just want to create program wich will control the quantity of the biological cells (each cell - simple box). How i can associate this batch created by program areas with some materials?
P.S. Sorry for my bad English.

0 Replies Last Post 05.07.2012, 14:47 GMT-4
COMSOL Moderator

Hello Grigory Timoshenko

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.