mx_to_str (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

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

Owning Class: string

Requires: MathScript RT Module

Syntax

c = mx_to_str(a)

c = mx_to_str(a, b)

Legacy Name: mat2str

Description

Converts the content of a numeric matrix to a single string.

Examples

Inputs

Name Description
a Specifies a numeric scalar, vector, or matrix.
b Specifies the number of valid digits. b is a positive integer.

Outputs

Name Description
c Returns a string equivalent to a.

Details

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

A = [1, 2-i; 3+3i, 6]
C = mx_to_str(A)

Related Topics

int_to_str
num_to_str
sprintf

文章是否对您有帮助?

没有帮助