Photonics

Photonics

Topics related to Lumerical and more.

Problems in loading the matfile

    • ph23resch01002
      Subscriber

      I 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

    • Amrita Pati
      Ansys Employee

      Hi Bharathy,

      Unfortunately, we aren't allowed to download files from ALF. There have been some recent changes in the version of Matlab files that can be used.

      I will recommend going through these updated articles to check if the requirements are met:

      1. MATLAB - Lumerical integrations
      2. MATLAB script integration configuration guide

      Regards,
      Amrita

    • 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."

Viewing 2 reply threads
  • You must be logged in to reply to this topic.