Hello,
I did not like the Standalone Application for the Matlab API which is generated from OpticStudio. This is why I wrote a 'ZemaxStandalone' class, which is based on a naked generated Standalone File. In my opinion, it makes the API a lot more usable and you dont have to write a new Standalone script for each of your appliucations.
You only need to create an Instance of this class by a given filepath string. The Class file should be well documented.
Have fun with an easier life!
Cheers,
Nils