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

60 views (last 30 days)
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.
 

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 21 Feb 2018
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'.

More Answers (0)

Categories

Find more on Interactive Model Editing in Help Center and File Exchange

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!