Click to edit Master title style - Zemax
Click to edit Master title style - Zemax
Click to edit Master title style - Zemax
- No tags were found...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
First Example- Test Connection• This is a simple example <strong>to</strong> get a lens <strong>title</strong>% Template MATLAB-ZEMAX DDE programclear all % removes all variables% initialize DDE connectionchannel = ddeinit('ZEMAX','');First command opensDDE channel for usewith ddereq andddeinit commands.% Main body of script. All commands are passed <strong>to</strong> ZEMAX using data items in% chapter 26 using the ddereq MATLAB command.name = ddereq(channel,'GetName', [1,1]);disp(name);% terminate DDE connetionclose = ddeterm(channel);Final command closeDDE channel.Second command getsthe lens <strong>title</strong> displayedin the Title/Notes tabof the General dialoguebox.