Borrar filtros
Borrar filtros

How do we build an auditory stimulus in Simulink?

5 visualizaciones (últimos 30 días)
Lara Faber
Lara Faber el 9 de Mayo de 2022
Respondida: Sachin Lodhi el 28 de Dic. de 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.

Respuestas (1)

Sachin Lodhi
Sachin Lodhi el 28 de Dic. de 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

Categorías

Más información sobre EEG/MEG/ECoG en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by