S = convertCharsToStrings(C)
[B1, B2, ..., BN] = convertCharsToStrings(A1, A2, ..., AN)
| Parameter | Description |
|---|---|
| C | if C is a char array, output S will be converted to an string array. |
| A1, A2, ..., AN | variables to convert to string array if it is a char array. |
| Parameter | Description |
|---|---|
| S | a string array or unaltered variable |
| B1, B2, ..., BN | variables converted to string array if it is a char array or cell of char array. |
convertCharsToStrings converts chars arrays to string arrays.
[A, B, C, D] = convertCharsToStrings("one", 2, 'three', {'four' ; 'NaN' ;'five'})
R = convertCharsToStrings(['Nelson' ; ' is '; ' good'])
| Version | Description |
|---|---|
| 1.0.0 | initial version |