Save Live Script automatically as PDF
Hello everyone,
I have a problem!
I wrote a program for the calculation of test data in the App Designer. The test results of the test person should be given to them in a report. Since I do not have access to the report generator, I have compiled the results in a live script and output them. I have set the button on the right to "hide code" and to save I press "save" and then "export to pdf".
Since I would like to compile the program as a standalone program, I cannot press the buttons myself and save the live script as a PDF.
I already tried the following:
matlab.internal.liveeditor.executeAndSave (which (‘Handout.mlx’));
matlab.internal.liveeditor.openAndConvert (‘Handout.mlx’, ‘test.pdf’);
Unfortunately, the code is always displayed there! But the design fits 🙂
Is there another way to automatically save the LiveScript as PDF without code?Hello everyone,
I have a problem!
I wrote a program for the calculation of test data in the App Designer. The test results of the test person should be given to them in a report. Since I do not have access to the report generator, I have compiled the results in a live script and output them. I have set the button on the right to "hide code" and to save I press "save" and then "export to pdf".
Since I would like to compile the program as a standalone program, I cannot press the buttons myself and save the live script as a PDF.
I already tried the following:
matlab.internal.liveeditor.executeAndSave (which (‘Handout.mlx’));
matlab.internal.liveeditor.openAndConvert (‘Handout.mlx’, ‘test.pdf’);
Unfortunately, the code is always displayed there! But the design fits 🙂
Is there another way to automatically save the LiveScript as PDF without code? Hello everyone,
I have a problem!
I wrote a program for the calculation of test data in the App Designer. The test results of the test person should be given to them in a report. Since I do not have access to the report generator, I have compiled the results in a live script and output them. I have set the button on the right to "hide code" and to save I press "save" and then "export to pdf".
Since I would like to compile the program as a standalone program, I cannot press the buttons myself and save the live script as a PDF.
I already tried the following:
matlab.internal.liveeditor.executeAndSave (which (‘Handout.mlx’));
matlab.internal.liveeditor.openAndConvert (‘Handout.mlx’, ‘test.pdf’);
Unfortunately, the code is always displayed there! But the design fits 🙂
Is there another way to automatically save the LiveScript as PDF without code? live script MATLAB Answers — New Questions
​