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 11 janv. 2010, 15:28 UTC−5 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 13 janv. 2010, 23:39 UTC−5