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.

comsol server matlab, log file

Please login with a confirmed email address before reporting spam

Hello,

I am running a comsol *.m file in a Matlab window.

I would like to know how to create a log file in order to see the time solver progress .

Thanks

Francois

8 Replies Last Post Feb 7, 2014, 12:53 p.m. EST
COMSOL Moderator

Hello Francois Guinot

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.


Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Feb 8, 2011, 9:01 a.m. EST
Any solution ?
Any solution ?

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Feb 11, 2011, 3:51 a.m. EST
Thanks to the Support, I have solved my problem. In V4.1, writing :

ModelUtil.showProgress(true);

displays an independent window with a progress bar and the log.
Thanks to the Support, I have solved my problem. In V4.1, writing : ModelUtil.showProgress(true); displays an independent window with a progress bar and the log.

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Feb 11, 2011, 7:02 a.m. EST
Hi

thanks for the update, was'nt avare of that one ;)

--
Good luck
Ivar
Hi thanks for the update, was'nt avare of that one ;) -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Feb 11, 2011, 11:00 a.m. EST
how to connect matlabR2010a to comsol v 4.1?
pls help.
Regards!!

deepak
how to connect matlabR2010a to comsol v 4.1? pls help. Regards!! deepak

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Feb 11, 2011, 11:09 a.m. EST
During Comsol installation, verify if livelink for matlab will be installed and then specify the Matlab set-up directory.
When the installation is done, you can run comsol with matlab.
On windows systems, just double click on "comsol 4.1 with matlab" in your programs menu.
On linux, if i remember the command line is :

comsol matlab
During Comsol installation, verify if livelink for matlab will be installed and then specify the Matlab set-up directory. When the installation is done, you can run comsol with matlab. On windows systems, just double click on "comsol 4.1 with matlab" in your programs menu. On linux, if i remember the command line is : comsol matlab

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Feb 11, 2011, 11:09 a.m. EST
During Comsol installation, verify if livelink for matlab will be installed and then specify the Matlab set-up directory.
When the installation is done, you can run comsol with matlab.
On windows systems, just double click on "comsol 4.1 with matlab" in your programs menu.
On linux, if i remember the command line is :

comsol matlab
During Comsol installation, verify if livelink for matlab will be installed and then specify the Matlab set-up directory. When the installation is done, you can run comsol with matlab. On windows systems, just double click on "comsol 4.1 with matlab" in your programs menu. On linux, if i remember the command line is : comsol matlab

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Feb 11, 2011, 11:10 a.m. EST
Hi

Check the KB for matlab, and the COMSOL installatin doc, there are several articles on the Forum too

--
Good luck
Ivar
Hi Check the KB for matlab, and the COMSOL installatin doc, there are several articles on the Forum too -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Feb 7, 2014, 12:53 p.m. EST
For future reference, if you use the command below:

ModelUtil.showProgress('filename');

the progress will output to 'filename'. This is particularly useful for Mac OS X because the progress bar is not supported.
For future reference, if you use the command below: ModelUtil.showProgress('filename'); the progress will output to 'filename'. This is particularly useful for Mac OS X because the progress bar is not supported.

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.