A simple and quick way of manually getting your data from Matlab into either an Excel Spreadsheet or a Word Table. This can be done by the time it takes to find the range needed for xlswrite. The clipboard is used instead of a COM interface.
Perfect for quickly getting data into a Word or Excel report. A single paste can populate an entire nxm table in Word with a nxm data set.
Three Easy Directions:
Generate data set A from your own code.
Paste into Excel Spreadsheet or Word Table.
(Note: The default mode will automatically copy things into your clipboard.)
Kirk (2022). toTable: Simple Manual Matlab to Excel or Word Function (https://www.mathworks.com/matlabcentral/fileexchange/44579-totable-simple-manual-matlab-to-excel-or-word-function), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!