export variable in word

5 views (last 30 days)
Luigi Stragapede
Luigi Stragapede on 6 Sep 2020
Is it possible to export in Word a variable (4x1x96 in my case) obtained in the worspace?
thanks

Answers (1)

Abdolkarim Mohammadi
Abdolkarim Mohammadi on 6 Sep 2020
Edited: Abdolkarim Mohammadi on 6 Sep 2020
You can export matrixes to word using Report generator. The general workflow is that you first create a report template that determines the elements of your report (including matrixes), and after you have created the matrix in MATLAB's workspace, you call the report generator to generate your Word report. You should notice that you have a 3D matrix, which cannot be represented in Word's tables. Since the second dimension is singlton, you should first use squeeze() to turn your matrix into 2D.

Categories

Find more on MATLAB Report Generator in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!