To create an app that generates reports, please follow these steps:
1. Launch App Designer and insert a push button into your app layout.
2. On the right-hand side, go to the Callbacks tab within the Component Browser. From the dropdown menu for the ButtonPushedFcn, select <Add ButtonPushedFcn callback>.
3. This will generate a new function in your code. Here, you can implement the logic for creating the report, or you can simply call a script that handles report generation.
I hope this guidance is helpful!