How can i run my .m file of Report Generator?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Guglielmo
am 9 Jul. 2024
Bearbeitet: Guglielmo
am 12 Jul. 2024
Hi, I wanted to know how to use the .m file from my report that I customized and saved with the "Generate MATLAB File" option, because I need to use that .m file in a MATLAB function. But when I run the .m file, it doesn't generate any report. It only shows this: ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1730811/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1730811/image.png)
What can i do?
Thanks
How i generate the .m:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1730871/image.png)
1 Kommentar
Akzeptierte Antwort
Garmit Pant
am 9 Jul. 2024
Hello Guglielmo
MATLAB Reports generated as MATLAB code using the Report Explorer can be run using the “report” MATLAB function.
After generating the M-File from a report setup RPT-File using the ‘Generate MATLAB File’ option, the M-File generated needs to be used with the “report” function to generate the report as follows:
% Assuming the name of your generated M-File as ‘buildSSD_prova’
report(buildSSD_prova)
The above command will generate the report.
Kindly follow the following MATLAB example to better understand the Report Generation from MATLAB Code workflow better:
I hope you find the above explanation and suggestions useful!
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Reporting and Database Access 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!