Ansys Learning Forum Forums Discuss Simulation Photonics readdata script not working in Lumerical 2024 R2.3 Reply To: readdata script not working in Lumerical 2024 R2.3

Kirill
Ansys Employee

Hello johannes.haataja,

I've just checked the script in Lumerical 2024 R2.3. Here is my result:

M = readdata("testfile.txt");
?M;

Result:
0    3.2e-06
1    2.8e+10
2    410000
3    3.3

As a debugging step, try to write data to the file and then read it back form it.

Best regards,

Kirill