persistent (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

»查看产品信息
下载帮助
(仅限Windows)

Owning Class: support

Requires: MathScript RT Module

Syntax

persistent a

persistent a b ... c

Description

Defines variables as persistent. Persistent variables are local to the function in which you use them but retain their original values for future calls. The first time you define a variable as persistent, LabVIEW initializes the variable to an empty matrix.

Details

The following table lists the support characteristics of this function.

Causes reduced performance (warning glyph) Yes
Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Related Topics

clear
global

文章是否对您有帮助?

没有帮助