mata_clear.hlp

来自「是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到」· HLP 代码 · 共 62 行

HLP
62
字号
{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 + =
减小字号Ctrl + -
显示快捷键?