How do we build an auditory stimulus in Simulink?

3 ビュー (過去 30 日間)
Lara Faber
Lara Faber 2022 年 5 月 9 日
回答済み: Sachin Lodhi 2023 年 12 月 28 日
Hello,
I´m struggling at building a visual or an auditory stimulus with Simulink. I need to build a paradigm that includes a building block which presents/ generates a visual or an auditory stimulus. The stimulus needs to be displayed on a second monitor in order to be presented to subjects that are executing different movements in regards to this stimulus. The stimulus should contain a few phases (focusing, activation and resting). The paradigm contains EEG recordings too.
I´d be happy about suggestions on how to fix this problems.
Thank you in advance.

回答 (1 件)

Sachin Lodhi
Sachin Lodhi 2023 年 12 月 28 日
Hello Lara,
The Data Acquisition Toolbox has the exact capability you want built in. There's a demo called "Using Callback Functions to Create Live Displays and Analysis" that is part of the product that teaches you how to do this.
Also, check out the "daqscope" demo that is part of the toolbox for a real world example of plotting the data as it arrives. It's more complex, but shows many of the techniques in a full application.
I would also recommend you to check out the following similar MATLAB answer, which contains multiple answers on how to programmatically implement the stimulus - https://www.mathworks.com/matlabcentral/answers/2081-how-to-execute-two-matlab-scripts-simultaneously
Hope this helps.
Best Regards,
Sachin

カテゴリ

Help Center および File ExchangeEEG/MEG/ECoG についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by