Run ZPL Macro on Zemax with ZOS-API
12 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello,
I have succesfully connected Zemax with Matlab using the standalone application template of the ZOS-API, and I have also opened a ZMX file. Now, I would like to execute the ZPL macro "TestMacro.ZPL" on it. However, I cannot figure out which is the proper command that allows me to do so.
Is there anyone from Zemax which can help me?
TheApplication = InitConnection();
TheSystem = TheApplication.PrimarySystem;
TheSystem.LoadFile('D:\Test.zmx',false);
% And now... how to execute "TestMacro.ZPL"?
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Get Started with MATLAB in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!