Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.

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

[bingo_chatbox]