Is there any software available to read Zemax ZRD files?

조회 수: 11 (최근 30일)
Carole Hayakawa
Carole Hayakawa 2021년 3월 9일
답변: Kristupas Tikuišis 2024년 11월 4일 9:12
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
Carole Hayakawa
Carole Hayakawa 2021년 3월 10일
I was able to obtain a zip file and associated documentation from the website you provided. After attempting to use the MATLAB files and Visual Studio solution file within the zip, I determined that I require ZOSAPI*.dlls to proceed. I think I'm stuck again but not due to MATLAB, more that I might need Zemax license and code.
Prisila
Prisila 2022년 10월 25일
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.

댓글을 달려면 로그인하십시오.

답변 (1개)

Kristupas Tikuišis
Kristupas Tikuišis 2024년 11월 4일 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

카테고리

Help CenterFile Exchange에서 Manage Products에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by