Programming and Data Types    

Character Arrays (Strings)


This chapter covers MATLAB support for string data. It describes the two ways that MATLAB represents strings, and also describes the operations that you can perform on string data. It covers the following topics:

Function Summary
Functions commonly used with character arrays
Character Arrays
Storing a single string, or two or more strings of equal length
Cell Arrays of Strings
Storing two or more strings of unequal length
String Comparisons
String comparison functions and operators
Searching and Replacing
Searching for and replacing characters within a string
Regular Expressions
Searching and replacing characters using regular expressions
Numeric/String Conversion
Converting numeric values to character strings


  Creating Timer Callback Functions Function Summary