hope this message finds you well. I am currently working on a project involving the design and numerical simulation of metalenses using Zemax and MATLAB. The design phase involves saving phase data from the Zemax simulation, which is later used in a numerical script to generate the metalens in MATLAB. I have a MATLAB file that contains the phase data saved from Zemax, but I am unsure of the specific method or format used to extract and save the data from Zemax. The phase data I currently have in MATLAB is as follows: Phase matrix: 571 x 571 (double) X data: 571 x 1 (double) Y data: 571 x 1 (double) Could you please provide guidance on: How this phase data was likely saved from Zemax into MATLAB? What steps or scripts were used to extract this information from the design, particularly the 571 x 571 phase matrix and the corresponding X and Y data? Any best practices or tools available in Zemax for exporting such data? This information will help me reproduce the workflow and proceed with my analysis. Thank you for your support. I look forward to your guidance. Best regards, Zaka Request for Assistance on Extracting and Saving Phase Data from Zemax into Matlab file zemax matlab