Difference between revisions of "Comsol-Matlab tutorial"
From Applied Optics Wiki
(Created page with " This is a guide to using the Comsol-Matlab interface. You will require: * Comsol 3.5a, * Matlab 2007, * plenty of patience.") |
|||
Line 1: | Line 1: | ||
+ | ===Getting Started=== | ||
− | + | The first step is installing the correct software. You will require a licensed copy of Comsol 3.5a, and a licensed copy of Matlab 2007. Both of these can be installed from Roger's repo. | |
− | + | ||
− | + | A Comsol-Matlab (CM) interface is initialised by running the command ''comsol_35a matlab''. This should start a java instance of Matlab 2007 with Comsol commands enabled. To check the link try the command ''flclear fem'' which will not work in a standard Matlab instance. | |
− |
Revision as of 13:50, 7 January 2013
Getting Started
The first step is installing the correct software. You will require a licensed copy of Comsol 3.5a, and a licensed copy of Matlab 2007. Both of these can be installed from Roger's repo.
A Comsol-Matlab (CM) interface is initialised by running the command comsol_35a matlab. This should start a java instance of Matlab 2007 with Comsol commands enabled. To check the link try the command flclear fem which will not work in a standard Matlab instance.