📄 mata_clear.hlp
字号:
{smcl}
{* 21mar2005}{...}
{cmd:help mata clear}
{hline}
{* index mata tt}{...}
{* index clear tt}{...}
{title:Title}
{p 4 4 2}
{bf:[M-3] mata clear -- Clear Mata's memory}
{title:Syntax}
{p 8 16 2}
: {cmd:mata clear}
{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 clear}
{title:Description}
{p 4 4 2}
{cmd:mata clear} clears Mata's memory, in effect resetting Mata. All
functions, matrices, etc., are freed.
{title:Remarks}
{p 4 4 2}
Stata can call Mata which can call Stata, which can call Mata, etc.
In such cases, {cmd:mata clear} releases only resources which are not in use
by prior invocations of Mata.
{p 4 4 2}
Stata's {bf:{help clear}} command
(see {bf:{help clear:[R] drop}})
performs a {cmd:mata clear}, among other
things.
{p 4 4 2}
See {bf:{help mata_drop:[M-3] mata drop}}
for clearing individual matrices or functions.
{title:Also see}
{p 4 13 2}
Manual: {hi:[M-3] mata clear}
{p 4 13 2}
Online: help for
{bf:{help mata_drop:[M-3] mata drop}};
{bf:{help m3_intro:[M-3] intro}}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -