MATLAB Web App: Multiple Page survey
Show older comments
I'm trying to make a GUI that takes in answers from multiple study participants. In the GUI, I want the participants to rate multiple audio files based on different questions. I've built a basic GUI in App Designer for rating one audio file (with placeholder question titles) and I want it to go to another page with the same structure for rating the subsequent audio files.
I'm a newcomer to MATLAB and needed some pointers on how I could do this. Would I need to create multiple .mlapp for all the audio files and somehow connect them as web apps? I don't have any experience with working with web servers and databases, so I'm not sure how I would go about in deploying this app for collecting data. Ideally, I would like participants to answer the questions for all audio files (while keeping them anonymous) and save all their responses to a server in form of an excel sheet.
I've attached the basic look of the GUI (only for 1 audio) as a screenshot below.

5 Comments
dpb
on 13 Jul 2024
Why not just loop over the number of audio files so that the "Proceed" button just loads the next file? You would want some validation code to ensure all Q? have an answer first, etc., but should be nothng more than adding a record to an internal table each pass it would seem...
Shaunak
on 13 Jul 2024
dpb
on 13 Jul 2024
Specifics, no...all I've ever built have been standalone executables. The best I can do is point you to the <documentation> that is the introduction to doing such things.
Shaunak
on 13 Jul 2024
Mohammad Sami
on 15 Jul 2024
you dont need to create new pages or ui layouts. this could be done simply with a few extra variables and functions. a table variable to store your data, an idx property to keep track of what table row you are currently showing in your UI. a function to update your UI based on the idx. a function to update the records in your table variable based on idx when user clicks next etc.
Answers (0)
Categories
Find more on Audio I/O and Waveform Generation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!