Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.

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

Guilin Sun
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.

[bingo_chatbox]