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.

Comsol 4.1 with Matlab

Please login with a confirmed email address before reporting spam

Hi;

I am using Comsol 4.1 and Matlab R2010b.

I followed Matlab livelink documentation:

- Open “shell diffusion.mph” by comsol
- Save as M file in a folder called “models”
- Open the M-File in Matlab(Matlab with Comsol).
- Run the model by typing “shell_diffusion” in Matlab.

I receive this message in Matlab:

model =
Type: Root
Tag: Model
Identifier: root

What does this message mean?
-----------------------------------------------
I also tried to use “mphstart”

As I run the “mphstart.m”, I receive the following warning for more than 20 times:

Warning: Objects of com/comsol/model/impl/ModelImpl class exist - not clearing java

> In javaclasspath>doclear at 379

In javaclasspath>local_javapath at 197

In javaclasspath at 119

In javaaddpath at 69

In C:\Program Files\COMSOL41\mli\mphstart.p>mphstart at 48

What is the reason?

0 Replies Last Post Jan 31, 2011, 1:28 p.m. EST
COMSOL Moderator

Hello Mina Jafarpoor

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.