TAGGED: -mode-extraction
-
-
August 22, 2023 at 5:03 pm
Karl Johnson
SubscriberI 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?
-
August 22, 2023 at 7:18 pm
Amrita Pati
Ansys EmployeeHi 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 -
August 22, 2023 at 8:10 pm
Karl Johnson
SubscriberThis 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.
-
August 22, 2023 at 8:12 pm
Amrita Pati
Ansys EmployeeSounds good! Please let me know if you still see the issue after updating. Thank you!Â
Regards,
Amrita
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.Â

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- “Import optical generation” or “delta generation rate”?
- Why am I getting “process exited without calling finalize”, and how do I fix it?
- Using a license file on a new license server
- Ansys Insight: Diverging Simulations
- Error: addfdtd is not a valid function or a variable name
- Questions about the calculation of the cross-polarization conversion efficiency of metasurface
- Error on Lumerical device
- Ansys Insight: About override mesh in FDTD: its use and settings
- Finding your Ansys (or Lumerical) account number
- Lumerical – error message when trying to open from Linux terminal
-
7774
-
4504
-
2971
-
1449
-
1322
© 2023 Copyright ANSYS, Inc. All rights reserved.