Error from Word when using Publish

27 Ansichten (letzte 30 Tage)
Ahmed raafat
Ahmed raafat am 10 Dez. 2021
Kommentiert: Ahmed raafat am 13 Dez. 2021
I have recently installed Office 2021, and MATLAB r2021b. I used command xlswrite it worked successfully, but when I try to use the publish command, it throws the error:
Error using Interface.00020975_0000_0000_C000_000000000046/set
Invoke Error, Dispatch Exception:
Source: Microsoft Word
Description: Item with specified name does not exist.
Help File: wdmain11.chm
Help Context ID: 62e2
Error in mxdom2word (line 80)
set(selection,'Style','MATLAB Code')
Error in publish
How can I solve this?
  7 Kommentare
Ahmed raafat
Ahmed raafat am 12 Dez. 2021
worked with pdf
Ahmed raafat
Ahmed raafat am 13 Dez. 2021
I have fixed the issue

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Ahmed raafat
Ahmed raafat am 13 Dez. 2021
Go to Windows Control Panel > uninstal Program > Choose Microsoft Office > Change/Modify > Offline Repair

Weitere Antworten (0)

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by