Filter löschen
Filter löschen

How do we build an auditory stimulus in Simulink?

5 Ansichten (letzte 30 Tage)
Lara Faber
Lara Faber am 9 Mai 2022
Beantwortet: Sachin Lodhi am 28 Dez. 2023
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.

Antworten (1)

Sachin Lodhi
Sachin Lodhi am 28 Dez. 2023
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

Kategorien

Mehr zu EEG/MEG/ECoG finden Sie in Help Center und File Exchange

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by