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
17.01.2011, 10:19 GMT-5
Hi
have you checked on the KB on the main site, there are a few explanations there too. I'm on CentOS-5 it works, but now I'm not sure if I have 2010a or b.
Normally, you need to install maltab first and if you upgrade matlab (and changes directories), you should ideally re-install COMSOL whcih is rather quickly done. I also clear my local .comsol user account, when I reinstall COMSOL, not sure what it all hides in there, as there are not that many settings saved anyhow. But check the KB (Support Knowledge Base above)
--
Good luck (also from CH)
Ivar
Hi
have you checked on the KB on the main site, there are a few explanations there too. I'm on CentOS-5 it works, but now I'm not sure if I have 2010a or b.
Normally, you need to install maltab first and if you upgrade matlab (and changes directories), you should ideally re-install COMSOL whcih is rather quickly done. I also clear my local .comsol user account, when I reinstall COMSOL, not sure what it all hides in there, as there are not that many settings saved anyhow. But check the KB (Support Knowledge Base above)
--
Good luck (also from CH)
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
17.01.2011, 11:05 GMT-5
Hi Ivar,
thanks for your mail.
That's what I did. I installed Matlab first and then re-installed Comsol.
But it still does not work.
I checked the KB, but did not find anything for Comsol v4.1
With old versions I had trouble, too. But I managed to make Comsol and Matlab run in comsol 3.5a
The strange thing is, that at first when I tried, not even Matlab would have started and in the .log file the Matlab root path was something like [...]/matlab/bin/bin/ something.
Although I never gave Comsol this strange path with /bin twice in it.
However, I will try to make it work and when it does, I'll post it here, in case anyone else should be interested.
Thanks and have a nice evening,
Juergen
Hi Ivar,
thanks for your mail.
That's what I did. I installed Matlab first and then re-installed Comsol.
But it still does not work.
I checked the KB, but did not find anything for Comsol v4.1
With old versions I had trouble, too. But I managed to make Comsol and Matlab run in comsol 3.5a
The strange thing is, that at first when I tried, not even Matlab would have started and in the .log file the Matlab root path was something like [...]/matlab/bin/bin/ something.
Although I never gave Comsol this strange path with /bin twice in it.
However, I will try to make it work and when it does, I'll post it here, in case anyone else should be interested.
Thanks and have a nice evening,
Juergen
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
17.01.2011, 11:20 GMT-5
HI
In my experience automatic link between comsol and matlab have ALWAYS been a source of trouble NEVER r working "out of the box" and I gave up trying to fix it a while ago becasue there is an easy way around:
What I do now and I think it is documented somewhere in the comsol doc is
1] launch comsol server with whatever options you want....
2 ] launch matlab and BE SURE that the proper comsol paths are defined in the active matlab tree . which directory to defines is found in the comsol mtlab install doc]
3 use, from within matlab, the command mphstart, if necessary with the port number where comsol server is listening..
This approach has always worked for me
JF
HI
In my experience automatic link between comsol and matlab have ALWAYS been a source of trouble NEVER r working "out of the box" and I gave up trying to fix it a while ago becasue there is an easy way around:
What I do now and I think it is documented somewhere in the comsol doc is
1] launch comsol server with whatever options you want....
2 ] launch matlab and BE SURE that the proper comsol paths are defined in the active matlab tree . which directory to defines is found in the comsol mtlab install doc]
3 use, from within matlab, the command mphstart, if necessary with the port number where comsol server is listening..
This approach has always worked for me
JF
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
17.01.2011, 14:14 GMT-5
Hi Jean Francois,
thanks, I will try that tomorrow back on my own computer (at the moment I have to work with a windows computer and have other troubles..)
Have a nice evening,
Juergen
Hi Jean Francois,
thanks, I will try that tomorrow back on my own computer (at the moment I have to work with a windows computer and have other troubles..)
Have a nice evening,
Juergen
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
19.01.2011, 07:04 GMT-5
Hi Jean Francois,
thanks, I tried it now and this works great!
Perfect!
Many thanks,
Juergen
Hi Jean Francois,
thanks, I tried it now and this works great!
Perfect!
Many thanks,
Juergen