Table Of Contents

mx_to_str

Version:
    Last Modified: March 15, 2017

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

    Syntax

    c = mx_to_str(a)
    c = mx_to_str(a, 'class')
    c = mx_to_str(a, b)
    c = mx_to_str(a, b, 'class')
    Legacy name: mat2str

    Inputs

    a

    Numeric, character, or logical scalar, vector, or matrix.

    'class'

    Determines that the returned string contains the data type of a.

    b

    Number of valid digits. b is a positive integer.

    Outputs

    c

    String equivalent to a.

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

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics