| Bioinformatics Toolbox™ | ![]() |
evalrasmolscript(FigureHandle, Command)
evalrasmolscript(FigureHandle,
'File', FileValue)
| FigureHandle | Figure handle to a molecule viewer returned by the molviewer function. | |
| Command | Either of the following:
| |
| FileValue | String specifying a file name or a path and file name of a text file containing Jmol script commands. If you specify only a file name, that file must be on the MATLAB search path or in the MATLAB Current Directory. |
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.
evalrasmolscript(FigureHandle,
'File', FileValue) sends the
RasMol script commands specified by FileValue 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')
Bioinformatics Toolbox functions: getpdb, molviewer, pdbread, pdbwrite
![]() | emblread | exprprofrange | ![]() |
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |