📄 mata_drop.hlp
字号:
{smcl}
{* 03may2005}{...}
{cmd:help mata drop}
{hline}
{* index mata tt}{...}
{* index drop tt}{...}
{title:Title}
{p 4 4 2}
{bf:[M-3] mata drop -- Drop matrix or function}
{title:Syntax}
{p 8 16 2}
: {cmd:mata} {cmd:drop}
{it:namelist}
{p 4 4 2}
where {it:namelist} is as defined in
{bf:{help m3_namelists:[M-3] namelists}}.
{p 4 4 2}
This command is for use in Mata mode following Mata's colon prompt.
To use this command from Stata's dot prompt, type
. {cmd:mata: mata drop} ...
{title:Description}
{p 4 4 2}
{cmd:mata} {cmd:drop}
clears from memory the specified matrices and functions.
{title:Remarks}
{p 4 4 2}
Use {bf:{help mata_describe:[M-3] mata describe}}
to determine what is in memory.
Use {bf:{help mata_clear:[M-3] mata clear}} to drop all matrices
and functions, or use Stata's {cmd:clear} command (see
{bf:{help drop:[D] drop}}).
{p 4 4 2}
To drop a matrix named {cmd:A}, type
: {cmd:mata drop A}
{p 4 4 2}
To drop a function named {cmd:foo()}, type
: {cmd:mata drop foo()}
{p 4 4 2}
To drop a matrix named {cmd:A} and a function named {cmd:foo()}, type
: {cmd:mata drop A foo()}
{title:Also see}
{p 4 13 2}
Manual: {hi:[M-3] mata drop}
{p 4 13 2}
Online: help for
{bf:{help mata_clear:[M-3] clear}};
{bf:{help m3_intro:[M-3] intro}}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -