Save as functionality for report generation
Afficher commentaires plus anciens
I'm trying to add a report generation functionality for my GUI, where the user will be able to run certain tests, and then generate a report with all inputs, outputs and graphs. I want to add a "Save as" feature, where the user will be able to decide what name to save his/her report by. I have previously tried the following code:
import mlreportgen.report.*
import mlreportgen.dom.*
[file,path]=uiputfile('*.pdf','Save As','Test Results');
report=fullfile(path,file);
TestReport = Report(file,'pdf');
TestReport.OutputPath=path;
But while this pops up a "Save as" figure window, it doesn't save the report eventually. Any suggestions?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur MATLAB Report Generator dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!