I have a GUI in which I have to generate a pdf report containing the results. I have done the coding and its works fine as long as I run it in the matlab editor. But when I compile it into a standalone application every thing works except the report generation. I am not able to figure out why it is happening.

 채택된 답변

Krishnan Ramkumar
Krishnan Ramkumar 2016년 11월 10일

0 개 추천

To enable someone who does not have MATLAB installed to run your compiled program, your program must execute this statement before executing the first line of DOM code that it executes to generate a report:
makeDOMCompilable();
If it doesn't help can you please send a small reproducible code?

추가 답변 (1개)

mizuki
mizuki 2016년 10월 27일

1 개 추천

Publish command is not supported in MATLAB Compiler, listed here: http://jp.mathworks.com/help/compiler/unsupported-functions.html

댓글 수: 1

I am not using pubish command in my code. I am creating pdf report programmatically using dom api.

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

카테고리

도움말 센터File Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by