Main Content

evalrasmolscript

(To be removed) Send RasMol script commands to Molecule Viewer window

evalrasmolscript will be removed in a future release.

Syntax

evalrasmolscript(FigureHandle, Command)

Arguments

FigureHandleFigure handle to a molecule viewer returned by the molviewer function.
Command

Any of the following:

  • Character vector, string, string vector, or cell array of character vectors specifying RasMol script commands. If there are multiple commands, use a ; to separate them.

    Note

    For a complete list of RasMol script commands, see

  • Character vector or 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 Folder.

Description

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.

Version History

Introduced in R2007a

expand all

R2023a: Warns

evalrasmolscript issues a warning that it will be removed in a future release.

See Also

| |