API (Matlab Standalone): Exporting optical components from Layout and shaded model in Matlab Figure

  • 2 September 2021
  • 0 replies
  • 245 views

Userlevel 4
Badge +1

This Matlab code shows the possibility to export optical components by using ZOS-API. In this example Matlab code exporting optical components from Layout of sample file Double Gauss 28 degree field.zmx. The final results exported as 3D figure in Matlab .

Limitations: 

Unable to fetch the rays from the Layout and shaded Model.

You will need modify the Line 32 Path : TheSystem.LoadFile('FilePath\OpticStudioFile', false);

Language : Matlab

  

Click here to download

Date Version OpticStudio Version Comment
2021/09/03 1.0 - Creation

 


0 replies

Be the first to reply!

Reply