Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

str_to_mx (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

Owning Class: string

Requires: MathScript RT Module

Syntax

c = str_to_mx(a, b, ...)

Legacy Name: str2mat

Description

Converts strings into a matrix of characters. LabVIEW pads strings with blank spaces if necessary to make all strings the same length. You can specify an unlimited number of input strings.

Examples

Inputs

Name Description
a Specifies a string.
b Specifies a string.

Outputs

Name Description
c Returns a character matrix equivalent to the input strings.

Examples

A = '1.23E-4+34.333j'
B = 'hello'
C = str_to_mx(A, B)

Related Topics

char
hex_to_num
num_to_str
str_to_num


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit