Main Content

ヘルプの表示

この例では、'help' コマンドを使用して MATLAB のヘルプを表示する方法を説明します。

'help' コマンドは、コマンド ウィンドウに主要なヘルプ トピックをすべてリストします。'help name' の形式は、関数、メソッド、クラス、変数など、name で指定された機能のヘルプ テキストを表示します。

disp('Display help for the ''close'' function.')
disp('>> help close')
help close
Display help for the 'close' function.
>> help close
 CLOSE  Close figure.
    CLOSE(H) closes the window with handle H.
    CLOSE, by itself, closes the current figure window.
 
    CLOSE('name') closes the named window.
 
    CLOSE ALL  closes all figure windows whose handles are not hidden.
    CLOSE ALL HIDDEN  closes hidden windows as well.
    CLOSE ALL FORCE  unconditionally closes all windows by deleting them
    without executing the close request function.
 
    STATUS = CLOSE(...) returns 1 if the specified windows were closed
    and 0 otherwise.
 
    See also DELETE.

    Documentation for close
       doc close

    Other uses of close

       instrument/close
       matlab.desktop.editor.Document/close
       matlab.desktop.editor.DocumentInterface/close
       matlab.desktop.editor.JavaEditorDocument/close
       matlab.desktop.editor.RtcEditorDocument/close
       ooinfopkg.ooinfoclass/close
       serial/close