MATLAB Web App: Multiple Page survey

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

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...
That makes a lot more sense, thanks! I added a label at every loop to display which audio is playing just so it's visible for the participants to see what audio file they are rating.
Do you happen to know the specifics how I can deploy it as a web app and what server database I can use to host the app? Sorry if it's a basic question, but I'm very new to working with servers and making your apps interactive in MATLAB
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.
Ok thank you!
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.

Sign in to comment.

Answers (0)

Categories

Find more on Audio I/O and Waveform Generation in Help Center and File Exchange

Asked:

on 13 Jul 2024

Commented:

on 15 Jul 2024

Community Treasure Hunt

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

Start Hunting!