Please login with a confirmed email address before reporting spam
I guess you could run the .m file in Matlab – LiveLink'ed to Comsol, obviously –, possibly remove the call of the solver sequence if that's part of the .m file, and then save the resulting model object as an .mph file using mphsave(...).
Hi,
I have connected Comsol and Matlab successfully.
I am simulating a two-dimensional photonic crystal.I can not plot the Bandgap in Comsol.So i research some information on internet,I decide to save the Comsol mph-file to Matlab m-file, but i don not know how to run the m-file, i run it in Matlab with some wrong :
??? Java exception occurred:
Exception:
com.comsol.util.exceptions.FlException: Errors during multiphysics
(rethrown as com.comsol.util.exceptions.FlException)
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
Errors during multiphysics
Errors during multiphysics
Errors during multiphysics.
Failed to find destination boundaries or destination selection empty.
- Feature: Periodic Condition 1 (pc1)
Could you help me?Thank you very much!Looking forward your perfect answer!
[QUOTE]
I guess you could run the .m file in Matlab – LiveLink'ed to Comsol, obviously –, possibly remove the call of the solver sequence if that's part of the .m file, and then save the resulting model object as an .mph file using mphsave(...).
[/QUOTE]
Hi,
I have connected Comsol and Matlab successfully.
I am simulating a two-dimensional photonic crystal.I can not plot the Bandgap in Comsol.So i research some information on internet,I decide to save the Comsol mph-file to Matlab m-file, but i don not know how to run the m-file, i run it in Matlab with some wrong :
??? Java exception occurred:
Exception:
com.comsol.util.exceptions.FlException: Errors during multiphysics
(rethrown as com.comsol.util.exceptions.FlException)
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
Errors during multiphysics
Errors during multiphysics
Errors during multiphysics.
Failed to find destination boundaries or destination selection empty.
- Feature: Periodic Condition 1 (pc1)
Could you help me?Thank you very much!Looking forward your perfect answer!