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.
Extracting a table from a Comsol using Matlab livelink
Posted 08.11.2013, 13:27 GMT-5 Interfacing, Results & Visualization Version 4.3b 1 Reply
Please login with a confirmed email address before reporting spam
I am having troubles in accessing a table that is created in comsol model using matlab livelink. When I use this command
a = 120;
b = 100;
d = 100;
model = waterDropsInOil(a,b,d);
tabl = mphtable(model, 'tbl1');
tabl.data turns to be just a 1xN row matrix instead of being MxN matrix that I had in Comsol model.
tabl.data
ans =
45.7100 -0.0000 -0.0000 0.0000
Here I attach the Comsol model (www.dropbox.com/s/cjb353c0h5jx1rf/3WaterDropsInOil.mph) and its Matlab code (www.dropbox.com/s/9fs68wx1omslymp/waterDropsInOil.m).
Does anybody know what I am doing wrong please?
Thanks
Hello Camille Girabawe
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.