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 件のコメント

dpb
dpb 2024 年 7 月 13 日
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
Shaunak 2024 年 7 月 13 日
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
dpb
dpb 2024 年 7 月 13 日
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
Shaunak 2024 年 7 月 13 日
Ok thank you!
Mohammad Sami
Mohammad Sami 2024 年 7 月 15 日
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.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeAudio I/O and Waveform Generation についてさらに検索

質問済み:

2024 年 7 月 13 日

コメント済み:

2024 年 7 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by