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.
Basic Comsol-Matlab Problem
Posted 14.11.2011, 09:26 GMT-5 LiveLink for MATLAB Version 4.2a 1 Reply
Please login with a confirmed email address before reporting spam
Hi,
I am new to using comsol with matlab so i apologise if this is an obvious question.
As a first step I am simply trying to save a model as a .m file and then run it in matlab. When i try to do this is get the following error message in matlab:
Undefined variable "ModelUtil" or class
"ModelUtil.create".
Error in play1 (line 10)
model = ModelUtil.create('Model');
I am running comsol 4.2.0.228 on a mac, and matlab R2011b (7.13.0.564) both 64bit.
The model is an extremely simple one, just a 2D bimetallic cantilever with a fixed constraint at one end being subjected to a temperature.
Does anyone know what this error message means, and if its a common problem how i can fix it?
Are there any tutorials on using the Matlab LiveLink, comsol seem to provide them for most other modules but i couldn't see any?
Any help is much appreciated.
Joe
I am new to using comsol with matlab so i apologise if this is an obvious question.
As a first step I am simply trying to save a model as a .m file and then run it in matlab. When i try to do this is get the following error message in matlab:
Undefined variable "ModelUtil" or class
"ModelUtil.create".
Error in play1 (line 10)
model = ModelUtil.create('Model');
I am running comsol 4.2.0.228 on a mac, and matlab R2011b (7.13.0.564) both 64bit.
The model is an extremely simple one, just a 2D bimetallic cantilever with a fixed constraint at one end being subjected to a temperature.
Does anyone know what this error message means, and if its a common problem how i can fix it?
Are there any tutorials on using the Matlab LiveLink, comsol seem to provide them for most other modules but i couldn't see any?
Any help is much appreciated.
Joe
1 Reply Last Post 14.11.2011, 09:40 GMT-5