MATLAB report from a standalone application.

1 Ansicht (letzte 30 Tage)
Sudhanshu Goel
Sudhanshu Goel am 27 Okt. 2016
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.

Akzeptierte Antwort

Krishnan Ramkumar
Krishnan Ramkumar am 10 Nov. 2016
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?

Weitere Antworten (1)

mizuki
mizuki am 27 Okt. 2016
Publish command is not supported in MATLAB Compiler, listed here: http://jp.mathworks.com/help/compiler/unsupported-functions.html
  1 Kommentar
Sudhanshu Goel
Sudhanshu Goel am 8 Nov. 2016
I am not using pubish command in my code. I am creating pdf report programmatically using dom api.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu MATLAB Report Generator finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by