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.

Address another component in MATLAB

Please login with a confirmed email address before reporting spam

Hello,

how can I address the second component, for example here: mphmean(model,'acpr2.Lp','surface','selection',1)

It, apparently does not recognize the second component just from the variable name (acpr2 instead of acpr)...

Thanks in advance!

-------------------
.

1 Reply Last Post Oct 30, 2017, 10:04 a.m. EDT
Lars Gregersen COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 7 years ago Oct 30, 2017, 10:04 a.m. EDT

Hi

You have to specify the 'dataset' argument to mphmean so it knows where to look.

-------------------
Lars Gregersen
Comsol Denmark
Hi You have to specify the 'dataset' argument to mphmean so it knows where to look.

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.