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.

Scripting error

Please login with a confirmed email address before reporting spam

Hi everyone, I'm trying to use a scripting to simulate a process however I'm having difficulties with the scripting,when i try to run it in Matlab I get the following errors:

Error using feval
Undefined function 'geom_T2' for input arguments of type 'double'.

Error in geomobject (line 29)
sdim=size(feval(g,zeros(0,1)),1)-2;

Error in meshinitaux (line 23)
geom=geomobject(geom);

Error in meshinit (line 361)
varargout = meshinitaux(fem,'meshinit',varargin{:});

Error in bubble (line 91)
fem.mesh=meshinit(fem,'Hmaxedg',[1 2 4 5 6 8;0.2 0.02 0.005 zeta 0.005
0.01],'Hgrad',1.18, 'Report','on','Hpntedg',
[5;0.2*length(S)],'Hnarrow',1.2,'Hmax',0.3,'Hcurve',10);
does anyone know what the problem might be? I'm running COMSOL 3.5a and the Matlab 2011b version
Thanks for any help.

0 Replies Last Post May 25, 2012, 5:10 a.m. EDT
COMSOL Moderator

Hello Stefanie Wang

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.