How to provide user defined path for report generated

17 views (last 30 days)
Hello all, As we provide a user-defined path to save the file in normal using [fileName,pathName] = uiputfile2('filename.format'); file_path = fullfile(pathName,fileName);
do we have the option to provide same flexibility to the user to choose the path for the report generated using the report generator

Answers (2)

Shantanu Dwivedi
Shantanu Dwivedi on 2 Nov 2020
You can create a user defined path for saving your report file.
Open the Report generater from Apps > Database Connectivity and Reporting > click Report Generator app icon
or enter
>> report
on you MATLAB command line to open Report Explorer. In the Report Options dialog box, use the Directory field to specify the name of the folder in which you want to store the generated report file. Specify a folder to which you have write privileges.
Please refer to the following documentation for more information-

Rahul Singhal
Rahul Singhal on 9 Nov 2020
If you are using the DOM API or Report API to generate reports, you can specify the path of the generated report using OutputPath property of the corresponding Document or Report object. See:

Community Treasure Hunt

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

Start Hunting!