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

str2mat (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the string class.

Syntax

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

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 = str2mat(A, B)

Related Topics

char
hex2num
num2str
str2num


Resources


 

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