U Abinash Patro
Subscriber

I used single wavelength source. Also I imported the material data from a file. I ran the above commands and got this:

? target_grating_order_out;
Error: prompt line 1: target_grating_order_out is not a valid function or variable name
? n_array;
Error: prompt line 1: n_array is not a valid function or variable name