We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
Photonics

Photonics

Topics related to Lumerical and more.

An error in script file of example

TAGGED: 

    • handon
      Subscriber

      Hello, 

      I tested with the example linked below and it reports a syntax error when I run the script: radial_diffusion_doping.lsf 

      Website link of Ansys optics example: How to create a radial diffusion doping profile in CHARGE – Ansys Optics

      How can I fix that?

      I never edited the codes in the sciprt before I ran that.

    • Guilin Sun
      Ansys Employee

      This is a very old script file when "end" is not reserved for the end of a matrix. Please use other variable name such as kend to replace it, and it will work. Actually yuo can simply the adjunct lines without using kern.

      I just tested and verified:

Viewing 1 reply thread
  • The topic ‘An error in script file of example’ is closed to new replies.