Is there any software available to read Zemax ZRD files?
11 views (last 30 days)
Show older comments
I would like to have the ability to read in Zemax ZRD binary files into MATLAB. I tried using fopen and fread with no luck. I see examples of code on the File Exchange to read in Zemax ZBF files but nothing for ZRD files.
4 Comments
Prisila
on 25 Oct 2022
Dear Carole,
Did you find an answer? Please share, as I have the same concern and was checking in to see if it had been resolved.
Answers (1)
Kristupas Tikuišis
on 4 Nov 2024 at 9:12
I understand this might be late but I faced the same problem recently. Since there was now readily available solution at the time, I wrote my own fully standalone function to load ZRD files and group rays into distinct paths. Maybe it will be useful to you, I have shared it on Ansys community page: https://community.zemax.com/code-exchange-10/matlab-script-to-group-rays-from-zrd-file-to-separate-paths-5430
0 Comments
See Also
Categories
Find more on Manage Products in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!