Class for character array (Scripts) Publisher's description
from Paulo Buchsbaum
Create a new type called STR with a character array inside
Create a new type called STR with a character array inside, implemented as a structure. It was inspired in Visual Basic syntax.
It was implemented several operators and functions overloads, but allows any character array function using "char" conversor function or ' transpose overload.
It's necessary to create a folder from a MatLab folder in one of the MatLab paths. The folder name is class name, with @ prefix. The .m name is class name.
Operator Overload: ==,~=,=,>,< -,*,/,,', , +,-, (), |
Function Overload: disp, length, upper, lower, strfind
Other Functions: str, left, right, mid, padl,padr, padc, instr, repeat, replace, trim, ltrim, rtrim
s1-'l'+ ' t' + 'cricket' - 'cr'
More details in the start of str.m file and before each function.
System Requirements:MATLAB 7.9 (2009b)
Program Release Status: New Release
Program Install Support: Install and Uninstall