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

str_to_num (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_num(a)

Legacy Name: str2num

Description

Converts strings into a matrix of numbers.

Examples

Inputs

Name Description
a Specifies a string or character matrix.

Outputs

Name Description
c Returns a numeric matrix equivalent to a.

Examples

A = ['12 13'; '14 15']
C = str_to_num(A)

Related Topics

char
hex_to_num
num_to_str
str_to_mx


 

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