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 件のコメント

Ahmed raafat
Ahmed raafat 2021 年 12 月 11 日
up
Rik
Rik 2021 年 12 月 11 日
The person knowing the answer to your question might not be looking at this forum today. Weekends tend to be slower anyway. If you need a very fast answer you might want to look beyond free online help.
Ahmed raafat
Ahmed raafat 2021 年 12 月 12 日
so who know the answer?
Image Analyst
Image Analyst 2021 年 12 月 12 日
Not me -- I never use publish. Why don't you call tech support on Monday if no one answers by then?
Chunru
Chunru 2021 年 12 月 12 日
Try to publish to other format (eg. html or pdf) to see if the problem is due to office2021.
Ahmed raafat
Ahmed raafat 2021 年 12 月 12 日
worked with pdf
Ahmed raafat
Ahmed raafat 2021 年 12 月 13 日
I have fixed the issue

サインインしてコメントする。

 採用された回答

Ahmed raafat
Ahmed raafat 2021 年 12 月 13 日

0 投票

Go to Windows Control Panel > uninstal Program > Choose Microsoft Office > Change/Modify > Offline Repair

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索

製品

リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by