We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.

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
Forum Moderator

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