Why am I unable to insert equations in MS Word when editing DocBlock in RTF?

67 次查看(过去 30 天)
I have a DocBlock in my Simulink model and the format of the text is RTF. When I double-click the block, it brings up a MS Word editor. I would like to embed equations in the Word document, but I find that the 'Equation' item under 'Insert' in the MS Word toolstrip has been grayed out. I have numerous equations in Word documents that I'd like to paste in the DocBlock document. When I proceed to try and paste those equations in the DocBlock document, it gets pasted as an image and not an equation. 
Moreover, I notice that the 'Insert Equation' option seems to be available when directly opening RTF files in MS Word, thus indicating that the limitation arises when opening MS Word through DocBlock. 
I'd like to know how to insert equations into MS Word when editing a Docblock.
 

采纳的回答

MathWorks Support Team
When using the DocBlock to create an RTF document, double-clicking on the DocBlock launches a blank MS Word document and forces MS Word to enter compatibility mode. In the compatibility mode, some features such as 'Insert Equation' are not supported. To overcome this limitation, please try the following:
1. Click on 'File' item on the MS Word toolstrip.
2. In the 'Info' tab, click on Compatibility Mode. In MS Office 2016 and later, the button is called 'Convert' and appears next to Compatibility Mode.
3. Once you do this, going back to the editor will make the Equation button active.
4. Add your equations.
5. When saving the document, save as 'RTF'.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interactive Model Editing 的更多信息

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by