Send RasMol script commands to Molecule Viewer window
|FigureHandle||Figure handle to a molecule viewer returned by the molviewer function.|
Any of the following:
evalrasmolscript(FigureHandle, Command) sends the RasMol script commands specified by Command to FigureHandle, the figure handle of a Molecule Viewer window created using the molviewer function.
Use the molviewer function to create a figure handle to a Molecule Viewer window.
FH = molviewer('2DHB')
Use the evalrasmolscript function to send script commands to the molecule viewer that change the background to black and spin the molecule.
evalrasmolscript(FH, 'background white; spin')