export variable in word

4 次查看(过去 30 天)
Luigi Stragapede
Luigi Stragapede 2020-9-6
Is it possible to export in Word a variable (4x1x96 in my case) obtained in the worspace?
thanks

回答(1 个)

Abdolkarim Mohammadi
编辑:Abdolkarim Mohammadi 2020-9-6
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.

类别

Help CenterFile Exchange 中查找有关 MATLAB Report Generator 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by