今天鼓捣了一天,终于成功运行了comsol with matlab.
安装过程中遇到很多问题,
1、与comsol4.2配套的matlab版本不能太低,2008a安装后运行不成功;2011b终于成功了。
2、与matlab2011b兼容的是.net framework2.0x86版本,其他版本不行。
3、standalone 和 server license 两个版本真不清楚具体区别,但是我都尝试了。server
license 出现问题如下:
~~~~~~~~~~~
在99%时候报了个错
A SERVER line could not be found in your license file. You will
have to manually edit the SERVER line in d:\ Program Files\ MATLAB\
R2010b\ licenses\ network.lic.之后,是
Your installation may require
additional configuration steps:
1. To configure Real-Time Windows Target you must type rtwintgt
-setup in a MATLAB command window.
2. After this installation is
complete, you should continue with your configuration of the MATLAB
Distributed Computing Server as outlined in the instructions
obtained from www.mathworks.com/distconfig.
3. Run mbuild -setup from MATLAB
before using MATLAB Compiler or builder products.
应该是要手动,按指定路径修改并重命名为network.lic。
我又装了standlone,出现如下错误: