Photonics

Photonics

Topics related to Lumerical and more

Unable to select multiple modes with selectmode

    • Karl Johnson
      Subscriber

      I am trying to select multiple modes with selectmode but it returns the error "argument of selectmode must be a string or scalar matrix":

      There are 4 solved modes, and I can select both 1 and 2 individually, so that is not the problem:

      This is the same as the syntax used in the documentation:

      What am I missing here?

    • Amrita Pati
      Ansys Employee

      Hi Karl,

      This is strange, I am able to use the exact same command successfully selectmode([1,2]); May I know which release of Lumerical you are using? Thank you!

      Regards,
      Amrita

    • Karl Johnson
      Subscriber

      This is version 2021 R2. I do not have a chance to update right now (I found a workaround so I don't have to use selectmode anymore), but once I update to the latest version I will check whether the issue is still present.

    • Amrita Pati
      Ansys Employee

      Sounds good! Please let me know if you still see the issue after updating. Thank you! 

      Regards,
      Amrita

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