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.
LiveLink Matlab +Comsol 4.1
Posted 12.06.2011, 11:34 GMT-4 Interfacing, LiveLink for MATLAB Version 4.0a 2 Replies
Please login with a confirmed email address before reporting spam
Hi !
1. Does anyone know if Comsol 4.1 works with an older version of Matlab (older than R2010b) for using LiveLink for Matlab?
2. I would like to use the LiveLink for Matlab with Comsol 4.1.
I have taken all the steps written in the guide (create a model in Comsol, save it as m-file, start Comsol+Matlab,
add the path to the saved m-file, run the m-file.
Matlab responds:
?? Undefined variable "ModelUtil" or class "ModelUtil.create"
I also tried by writing the commands
>> import com.comsol.model.*
>> import com.comsol.model.util.*
>> model=ModelUtil.create('Model')
and run the m-file but the answer is the same.
What else can I do?
Thanks
gabriela
1. Does anyone know if Comsol 4.1 works with an older version of Matlab (older than R2010b) for using LiveLink for Matlab?
2. I would like to use the LiveLink for Matlab with Comsol 4.1.
I have taken all the steps written in the guide (create a model in Comsol, save it as m-file, start Comsol+Matlab,
add the path to the saved m-file, run the m-file.
Matlab responds:
?? Undefined variable "ModelUtil" or class "ModelUtil.create"
I also tried by writing the commands
>> import com.comsol.model.*
>> import com.comsol.model.util.*
>> model=ModelUtil.create('Model')
and run the m-file but the answer is the same.
What else can I do?
Thanks
gabriela
2 Replies Last Post 11.07.2011, 08:23 GMT-4