西莫电机圈

 找回密码
 立即注册

QQ登录

只需一步,快速开始

手机号码,快捷登录

手机号码,快捷登录

查看: 1934|回复: 2

[COMSOL Multiphysics] Problem with comsol 3.4 with matlab 2007b

[复制链接]

该用户从未签到

发表于 2008-11-22 22:11 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

x
please give me a solution....
西莫电机论坛微信公众平台正式上线!★详情请点击★ 西莫电机论坛会员交流专用群欢迎您西莫电机论坛加群请注明论坛用户名及所从事专业,否则不予通过

该用户从未签到

发表于 2008-11-23 22:33 | 显示全部楼层
是的,我也有同样问题,打不开
西莫电机论坛微信公众平台正式上线!★详情请点击★ 西莫电机论坛会员交流专用群欢迎您西莫电机论坛加群请注明论坛用户名及所从事专业,否则不予通过
回复

使用道具 举报

该用户从未签到

发表于 2009-2-26 19:12 | 显示全部楼层
转载一下,可以解决,我已经试过了
This problem has been reported by some users of COMSOL 3.4 with MATLAB 2007b on Windows. MATLAB 2007a and earlier versions are not affected by this problem.
The problem seems to be related to 32-bit MATLAB on a dual core (or more) Windows machines.
The solution is to change how MATLAB's Java Heap size is set. When COMSOL starts with MATLAB the maximum size of the Java heap is set to 256 MB. We need to disable this and use the default Java Heap size instead. The maximum size of the Java heap can be given by providing a line in a file java.opts in the directory where MATLAB is started.
The workaround is as follows:

Try to start COMSOL with MATLAB once. It will fail but a file java.opts will be written to the COMSOL  3.4 installation directory.
Open the java.opts file, remove the line -Xmx256m and save the file.
Open the file comsol.opts in the bin directory under your COMSOL installation and change the line
  JAVAOPTS=on
to
  JAVAOPTS=off
This will ensure that a new java.opts file is not written automatically every time you start COMSOL with MATLAB and your manually edited comsol.opts will always be used.
When you use "Connect to MATLAB" from the File menu in COMSOL Multiphysics it will look for a java.opts file in your home directory. This means that you should copy the edited java.opts file to the home directory as well. This will be something like
C:\Documents and Settings\<user name>

评分

参与人数 1西莫币 +10 收起 理由
xhn + 10 谢谢!

查看全部评分

西莫电机论坛微信公众平台正式上线!★详情请点击★ 西莫电机论坛会员交流专用群欢迎您西莫电机论坛加群请注明论坛用户名及所从事专业,否则不予通过
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|手机版|Archiver|西莫电机圈 ( 浙ICP备10025899号-3 浙公网安备:33028202000436号

GMT+8, 2024-11-23 10:12 , Processed in 0.162096 second(s), 27 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表