Make an app using GUIDE and for loops

1 回表示 (過去 30 日間)
Louise Wilson
Louise Wilson 2019 年 8 月 21 日
回答済み: Abhisek Pradhan 2019 年 8 月 27 日
I have a code which runs a series of for loops on a folder of .wav files, and at each iteration produces one spectrogram plot. I'd like to turn this into a simple app using GUIDE and I've designed the interface but can't really understand how to put my code into the script that is produced when the interface is made.
I'd like the GUI to open with the first iteration of the loop, execute each iteration with the 'next' button, and then on each plot allow me to say whether I see a certain thing or not i.e. boat or no boat. Hitting boat or no boat would save the filename of the current spectrogam in the first column of a csv file with a second column labelling each filename (e.g. boat or no boat) in column 2.
Are there any examples online of for loops executed within GUIDE?
Thanks!
simplegui.jpg

回答 (1 件)

Abhisek Pradhan
Abhisek Pradhan 2019 年 8 月 27 日
Following link has an example related to getting a GUI updated on running of a loop:

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by