-
-
April 27, 2024 at 11:59 am
ph23resch01002
SubscriberI am working on a beam shaping problem, I got a phase profile by training the Diffractive Neural Network. Now, I have the phase profile to be encoded onto the metasurface in .matfile format. However, when attempting to load that matfile to place the atom corresponding to the phase values, I am facing an issue. I have even integrated Matlab into the ansys lumerical. but still It shows an unsupported variable type. I will also attach the matfile here in the link. Can anyone please tell me why I am not able to load this matfile? In which format it should be and all that?
https://drive.google.com/file/d/1BkWJqs-XJN05hDUi4X_PLZcH9N2vSqbR/view?usp=drive_link
-
April 29, 2024 at 8:45 pm
-
May 2, 2024 at 6:11 am
ph23resch01002
Subscriber"Thank you very much! Actually, the .mat file I had was of class type 'single', but when I changed it to 'double', I was able to load the mat file."
-
- The topic ‘Problems in loading the matfile’ is closed to new replies.
-
2773
-
960
-
840
-
599
-
591
© 2025 Copyright ANSYS, Inc. All rights reserved.