rptview() error - timing out

조회 수: 18 (최근 30일)
Deborah Curtis
Deborah Curtis 2022년 7월 26일
댓글: Deborah Curtis 2022년 12월 2일
I am suddenly getting an error trying to use rptview() where I haven't gotten one before, without changing anything. I am getting the following error codes:
Error using mlreportgen.utils.internal/executeRPC
Retry calling function "@()openDocNETObj(hDocs,fullFilePath)".
Error in mlreportgen.utils.WordDoc/createNETObj
Error in mlreportgen.utils.internal/OfficeDoc
Error in mlreportgen.utils.WordDoc
Error in mlreportgen.utils.internal/WordController/createDoc
Error in mlreportgen.utils.internal/OfficeController/load
Error in mlreportgen.utils.word.load
Error in mlreportgen.utils.rptviewer/createViewer
Error in mlreportgen.utils.rptviewer.viewer
Error in mlreportgen.utils.internal/rptview
Error in rptview (line 65)
mlreportgen.utils.internal.rptview(fileName, varargin{:})
Error in generate_POTT_report (line 179)
rptview(D);
Caused by:
Error using mlreportgen.utils.WordDoc
Timed out while waiting for "<redacted>Report.docx" to open.
Any ideas? The code was working fine till this morning.
My code is generating a report and then opens it automatically for review. I have double and triple checked to make sure the filepath is correct. The file is being created and is located where it says it should be.
  댓글 수: 2
SRUSHTI KHATAU
SRUSHTI KHATAU 2022년 12월 2일
Hi,
I am getting the same error.
Have you found any solution?
Please help.
Thank you in advance.
Deborah Curtis
Deborah Curtis 2022년 12월 2일
I fixed it by restarting the computer. Hope this helps you too!

댓글을 달려면 로그인하십시오.

답변 (1개)

Deborah Curtis
Deborah Curtis 2022년 7월 26일
Nevermind, I fixed it by restarting the computer :)

카테고리

Help CenterFile Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by