Using the C++ Math Library    

Character String Functions

General 
Function
Purpose
blanks
String of blanks.
char_func
Create character array (string).
deblank
Remove trailing blanks from a string.
double_func
Convert to numeric.
str2mat
Form text matrix from individual strings.

String Tests 
Function
Purpose
ischar
True for character arrays.
isletter
True for elements of the string that are letters of the alphabet.
isspace
True for whitespace characters in string arrays.

String Operations 
Function
Purpose
findstr
Find a substring within a string.
lower
Convert string to lower case.
strcat
String concatenation.
strcmp
Compare strings.
strcmpi
Compare strings ignoring case.
strjust
Justify a character array.
strmatch
Find possible matches for a string.
strncmp
Compare the first n characters of two strings.
strncmpi
Compare first n characters of strings ignoring case.
strrep
Replace substrings within a string.
strtok
Extract tokens from a string.
strvcat
Vertical concatenation of strings.
upper
Convert string to upper case.

Base Number Conversion 
Function
Purpose
base2dec
Base to decimal number conversion.
bin2dec
Binary to decimal number conversion.
dec2base
Decimal number to base conversion.
dec2bin
Decimal to binary number conversion.
dec2hex
Decimal to hexadecimal number conversion.
hex2dec
IEEE hexadecimal to decimal number conversion.
hex2num
Hexadecimal to double number conversion.

String to Number Conversion 
Function
Purpose
int2str
Convert integer to string.
mat2str
Convert matrix to string.
num2str
Convert number to string.
sprintf
Convert number to string under format control.
sscanf
Convert string to number under format control.
str2double
Convert string to double-precision value.
str2num
Convert string to number.


 Function Functions and ODE Solvers File I/O Functions