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
Hello johannes.haataja,
1. Check if the data is being saved correctly. What output do you get in writetest.txt when you open it manually in a text editor? Also consider formatting the data while saving it to the file; see format and num2str functions.
2. I’m not sure if this is relevant in your case, but you can use MATLAB (.mat) files to save and load data. Check out the matlabsave / matlabload functions.
3. The Lumerical Data File (LDF) format might be another option; consider the loaddata / savedata functions.
4. Double-check the System Requirements and Ubuntu Linux installation guide.
Best regards,
Kirill