gcf

Get current figure returns a handle to the current figure.

Syntax

gcf()

Outputs

R
Handle.

Example

Simple gcf example.

R = gcf()
R = 2