About 82 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

    This MATLAB function returns a string with no characters.

  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. 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:

  8. 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.

  9. cellstr - Convert to cell array of character vectors - MATLAB

    Aug 9, 2025 · To pass data from a string array to such functions, use the cellstr function to convert the string array to a cell array of character vectors. Create a string array.

  10. how to convert string to array? - MATLAB Answers - MATLAB Central

    May 19, 2015 · How can I convert a number say [aabc] to an array [a a b c]?.These numbers may be binary,hex,etc.. The value i got after some calculations is in the form of abcd where each bits can be …