MATLAB
1、 ischar( ) 函数:
ischar - Determine whether item is character array
This MATLAB function returns logical 1 (true) if A is a character array andlogical 0 (false) otherwise.tf = ischar(A)
feof - Test for end-of-fileThis MATLAB function returns 1 if a previous operation set the end-of-fileindicator for the specified file.
This MATLAB function reads data from string str, converts it according to theformat, and returns the results in array A.A = sscanf(str, format)A = sscanf(str, format, sizeA)[A, count] = sscanf(...)[A, count, errmsg] = sscanf(...)[A, count, errmsg, nextindex] = sscanf(...)4、deblank
deblank - Strip trailing blanks from end of string
This MATLAB function removes all trailing whitespace and null characters from
the end of character string str.
str = deblank(str)
c = deblank(c)