Dear Team,
I am currently working in Zemax OpticStudio, Non-Sequential Mode, along with the MATLAB Interactive Extension. My system consists of multiple source Gaussian objects where I need to assign different phase values individually to each object and dynamically control them through MATLAB.
Specifically, I am trying to:
• Assign different phase values to different objects in NSC mode
• Control or update these phase parameters inside a MATLAB for-loop
• Automate the process so that phase values change programmatically for simulation runs.
• Understand how phase- and object-specific properties should be addressed correctly through the Interactive Extension
My objective is to create a system where multiple objects (for example, a Gaussian source object) are controlled separately within a single simulation, without manually editing each object.
I have gone through, but no supported article is available.