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.

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