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.

MATLAB Script to mph file

Please login with a confirmed email address before reporting spam

Hi everyone, I have a matlab script for 1D photonic crystals and want to convert it into mhp file for comsol to compare the results. is there anyway to do that?


1 Reply Last Post May 24, 2023, 5:19 a.m. EDT
Lars Gregersen COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 11 months ago May 24, 2023, 5:19 a.m. EDT

Just run the M-file.

Save the resulting model as an MPH-file using the mphsave command.

-------------------
Lars Gregersen
Comsol Denmark
Just run the M-file. Save the resulting model as an MPH-file using the mphsave command.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.