Ansys Learning Forum › Forums › Discuss Simulation › Optics › Lumercial MODE : bug while exporting data in matlab format › Reply To: Lumercial MODE : bug while exporting data in matlab format
April 4, 2024 at 5:10 pm
Ansys Employee
Thank you to bring this issue with us. It seems the software is experiencing some difficulties in exporting the mode data. We need sometime to investigate and will let you know if there is any progress. Please be patient.
At the mean time, please you get result to export data. If you want to add the H fields to the dataset, you can simply add it like this:
E=getresult("mode1","E");
Â
H=getresult("mode1","H");
Â
EH=E;
Â
EH.addattribute("H",H.Hx,H.Hy,H.Hz);
Â
matlabsave("mode1.mat",EH);
Please try.