Hello,
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
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