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.
problem with liveLink to MatLab
Posted 2012年7月2日 GMT-4 01:32 Interfacing Version 4.2a 2 Replies
Please login with a confirmed email address before reporting spam
Hi everybody!
I create simple 2D model in Comsol, then save it as Model M-file.
Open Comsol 4.2a with Matlab, in Matlab run this model. During execution Matlab said:
"
Error using feature
Input should be either a string or a scalar double
Error in model (line 67)
model.geom('geom1').feature('sq2').feature.comments('');
"
When i manualy delete line 67 in the M-File, model computing correctly.
What is this line ( model.geom('geom1').feature('sq2').feature.comments(''); )?
How to make sure that it didn't created?
I create simple 2D model in Comsol, then save it as Model M-file.
Open Comsol 4.2a with Matlab, in Matlab run this model. During execution Matlab said:
"
Error using feature
Input should be either a string or a scalar double
Error in model (line 67)
model.geom('geom1').feature('sq2').feature.comments('');
"
When i manualy delete line 67 in the M-File, model computing correctly.
What is this line ( model.geom('geom1').feature('sq2').feature.comments(''); )?
How to make sure that it didn't created?
2 Replies Last Post 2012年7月3日 GMT-4 08:46