今天看到comsol提供MATLAB和java两种脚本二次开发方式,感觉不错
About the COMSOL Java API
You can use the COMSOL Java API to develop custom applications based on COMSOL. The COMSOL API is a Java-based interface, which means that a Java Development Kit (JDK) is required in order to compile your Java files into class files. You can download a JDK from www.oracle.com/technetwork/java/index.html. The comsol compile command helps you compile your Java files using the JDK.You can run Java class files with COMSOL API-based applications in different ways:
• From the COMSOL Desktop. A model created using a class file appears
automatically in the Desktop.
• From a batch sequence in a study.
• Using the comsol batch command.
The LiveLink for MATLAB operates using the COMSOL Java API and additional utility M-file functions. See the LiveLink™ for MATLAB® User’s Guide for additional information.