Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Running m-file from Comsol
Posted Jan 11, 2010, 3:28 p.m. EST 1 Reply
Please login with a confirmed email address before reporting spam
Hello All,
This maybe a result of my low experience with Matlab. My end goal is to convert my Comsol MPH files to M-Files to be run on a cluster. I would be happy if I could first save a MPH file as an M-file and successfully run it in Matlab. This should be simple, but apparently I am doing something wrong.
Say I set up a simple RF scattering situation. I have my Comsol file all set, mesh generated, parameter sweep in place, boundary, and sub domains ready, etc. All I need to do in Comsol is press solve and things work beautifully. I was under the impression that I could save this file as an M-file, open it in Matlab and compute the solutions in the m-file.
Is this wrong? Do I have to change something in the M-file before it computes solutions.
This maybe a result of my low experience with Matlab. My end goal is to convert my Comsol MPH files to M-Files to be run on a cluster. I would be happy if I could first save a MPH file as an M-file and successfully run it in Matlab. This should be simple, but apparently I am doing something wrong.
Say I set up a simple RF scattering situation. I have my Comsol file all set, mesh generated, parameter sweep in place, boundary, and sub domains ready, etc. All I need to do in Comsol is press solve and things work beautifully. I was under the impression that I could save this file as an M-file, open it in Matlab and compute the solutions in the m-file.
Is this wrong? Do I have to change something in the M-file before it computes solutions.
1 Reply Last Post Jan 13, 2010, 11:39 p.m. EST