commata
COMMATA(X) displays the contents of matrix X (real elements only)in the Command Window as a table (tab-separated string with precision %13.6e). After highlighting the data it can transferred to a spreadsheet using copy and paste.
The point as decimal separator is replaced by a comma to match the decimal convention in Germany. Thereby removing the need to change the country settings.
Note: See 'table.m' for a version of this M-File which uses a dot as the decimal separator.
The file was tested under Matlab 4.2 and 5.1.
Cite As
Stefan Baunack (2026). commata (https://www.mathworks.com/matlabcentral/fileexchange/160-commata), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Language Fundamentals > Data Types > Tables >
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 | 2016-05-02 Licensing |
