array2str(A,Delimiter)
Function Description:
This function creates a delimiter-separated list (string) of the rows in the array A.
AUTHOR: Sugato Ray | Created on: 25-APR-2017 | ray.sugato[at]gmail.com
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
PLEASE ACKNOWLEDGE THE AUTHOR IF YOU USE THIS CODE
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
INPUT:
A = array
Delimiter = ',' is default. => This creates a CSV String.
The user could choose any characher as the delimiter.
OUTPUT:
S = delimiter separated list (string) of the rows of A.
EXAMPLE:
S = array2str(A,Delimiter);
Cite As
Sugato (2026). array2str(A,Delimiter) (https://in.mathworks.com/matlabcentral/fileexchange/64100-array2str-a-delimiter), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | Updated description. |
