Table Of Contents

close

Version:
    Last Modified: March 15, 2017

    Closes figures.

    spd-note-note
    Note  

    You can only use the close function in the MathScript Console.

    Syntax

    close
    close('all')
    close(a)

    Inputs

    all

    Determines that MathScript closes all figures.

    a

    Figure number you want to close. a is a positive integer. MathScript generates an error if a is not an integer or if a is an integer that does not correspond to an existing window.

    Syntax Variants

    • close closes the current figure.
    • close ('all') closes all figures.
    • close(a) closes figure a.
    close('all')
    X = 0:1:10;
    plot(X)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics