MATLAB Answers

export variable in word

2 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

  0 Comments

Sign in to comment.

Answers (1)

Abdolkarim Mohammadi-Balani
Edited: Abdolkarim Mohammadi-Balani 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.

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!