Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 26527

Work on COMSOL through MATLAB?

$
0
0
Hi,

I would like to run COMSOL through MATLAB but don't understand how? For example when I have saved a COMSOL simulation as M-file and tries to open it in MATLAB it won't open and I am not sure how to open the program in COMSOL in MATLAB. I tried to read the information in help but I don't get it. I didn't install the programs on this computer so I am not sure how it was installed.

Basically my end goal is that I want to save the solutions from COMSOL in MATLAB to be able to use them for further calculations in MATLAB. Is it possible and how can I do this?

For example, I have a certain parameter (a refractive index as input) that I sweep and get different effective refractive indexes. I would like to store these in MATLAB and then use it for calculations in MATLAB. How can I do this?

Edit:

I have MATLAB R2010B 64BIT, COMSOL4.1, MATLAB was installed first. I uses a Mac computer.

Many thanks for any help!

Viewing all articles
Browse latest Browse all 26527

Trending Articles