res = string(var)
| Parameter | Description |
|---|---|
| var | characters, a cell of characters, or an logical or numeric array. |
| Parameter | Description |
|---|---|
| res | a string array |
string converts input into string array.
R = string({'these', 'are'; 'test', 'strings'})
R2 = ["these", "are"; "test", "strings"];
M = [ 104 101 108 108 111;
20320 22909 32 32 32];
R = string(M)
D = double(R)
| Version | Description |
|---|---|
| 1.0.0 | initial version |