export variable in word

조회 수: 5 (최근 30일)
Luigi Stragapede
Luigi Stragapede 2020년 9월 6일
편집: Abdolkarim Mohammadi 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일
편집: 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