About 80 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.

  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 string using …

  3. Characters and Strings - MATLAB & Simulink - MathWorks

    A character array is a sequence of characters, just as a numeric array is a sequence of numbers. A typical use is to store short pieces of text as character vectors, such as c = 'Hello World'. A string …

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

    String arrays are supported throughout MATLAB and MathWorks® products. Functions that accept character arrays (and cell arrays of character vectors) as inputs also accept string arrays. Represent …

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

    Clone String Array Size from Existing Array Create an array of empty strings that is the same size as an existing array.

  6. Frequently Asked Questions About String Arrays - MATLAB & Simulink

    Frequently Asked Questions About String Arrays You can use string arrays to work with text throughout MathWorks ® products. String arrays store pieces of text and provide a set of functions for working …

  7. Text and Characters - MATLAB & Simulink - MathWorks

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

  8. matlab - Create an array of strings - Stack Overflow

    However, Budo touched on the new string class introduced in version R2016b of MATLAB. Using this new object, you can very easily create an array of strings in a loop as follows:

  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.

  10. sprintf - Format data into string or character vector - MATLAB

    This MATLAB function formats the data in arrays A1,...,An using the formatting operators specified by formatSpec and returns the resulting text in str.