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.
How to re-order two different solutions (Livelink MATLAB)
Posted Apr 21, 2016, 7:45 a.m. EDT LiveLink for MATLAB 0 Replies
Please login with a confirmed email address before reporting spam
1. Using "getU" and index. That is:
temp1 = model.sol(<soltag>).getU;
data1 = temp(index);
2. Using the function, "mpheval" directly. That is:
temp2 = mpheval(model,<expr>, 'smooth', 'none', 'pattern', 'gauss');
data2 = temp2.d1';
Both way, I can get a vector of solution data I need, but they are different in order.
I've used "getU" to get data, because I have to use "setU" later.
However I need another data evaluated by "mpheval" to filter the data above.
How can I match these two each other?
Hello Minsik Seo
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.