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 mphplot

Please login with a confirmed email address before reporting spam

I am in the process of learning Livelink for Matlab. I have set up a simple 2D heat transfer question on the GUI. The geometry is a square, with T=100 on one side, no flux condition on the others.

After that, i saved the model as model m file and run it within matlab. In the last line of the model m file, i added:

mphplot(model,'pg1');


The plot result, however, shows T=0 everywhere. This is not the case when i run the model and plot the result within the GUI. What could have caused the problem?

Attached is my model m file.

Thanks in advanced.


0 Replies Last Post 2011年2月25日 GMT-5 10:57
COMSOL Moderator

Hello Shu Heng Khor

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.