About 14,200,000 results
Open links in new tab
  1. string, " " - String array - MATLAB - MathWorks

    You can represent text in MATLAB ® using string arrays where each element of a string array stores a sequence of characters. The sequences can have different lengths without padding, …

  2. Create String Arrays - MATLAB & Simulink - MathWorks

    Create String Arrays from Variables. MATLAB® provides string arrays to store pieces of text. Each element of a string array contains a 1-by-n sequence of characters. You can create a …

  3. Characters and Strings - MATLAB & Simulink - MathWorks

    You can create strings using double quotes, such as str = "Greetings friend". To convert data to string arrays, use the string function. For more information, see Text in String and Character …

  4. Convert Numeric Values to Text - MATLAB & Simulink

    Add Numbers to Strings. The simplest way to combine text and numbers is to use the plus operator (+). This operator automatically converts numeric values to strings when the other …

  5. strings - Create string array with no characters - MATLAB

    str = strings returns a string with no characters. For more information on string arrays, see string. You also can use double quotes. For example, str = "" creates a string scalar that contains no …

  6. Text and Characters - MATLAB & Simulink - MathWorks

    Text in String Arrays. When you are working with text, enclose sequences of characters in double quotes. You can assign text to a variable.

  7. Text in String and Character Arrays - MATLAB & Simulink

    There are two ways to represent text in MATLAB®. You can store text in string arrays and in character vectors. MATLAB displays strings with double quotes and character vectors with …

  8. convertStringsToChars - Convert string arrays to character arrays ...

    [B1,...,Bn] = convertStringsToChars(A1,...,An) converts any string arrays in A1,...,An to character vectors or cell arrays of character vectors, and then returns them as the corresponding output …

  9. append - Combine strings - MATLAB - MathWorks

    You can combine string arrays or cell arrays of character vectors, element by element. Also, you can append a single piece of text to the elements of an input array. Create an array of file names.

  10. char, ' ' - Character array - MATLAB - MathWorks

    Create a string scalar. You can create string scalars using double quotes. MATLAB® also displays strings with double quotes.

Refresh