Matlab trial list behavioral experiment

7 visualizaciones (últimos 30 días)
STEFANA
STEFANA el 4 de Mayo de 2023
Respondida: Steven Lord el 4 de Mayo de 2023
Hi, I'm running a behavioral experiment on Matlab. I'm working on the trial list on a txt file. This file would contain my stimuli. I would ask whether it is possible to make matlab execute the stimuli in exactly the order in which they are placed and eventually which is the command.
Thank you!

Respuestas (1)

Steven Lord
Steven Lord el 4 de Mayo de 2023
What's the format of the entries in your trial list, and what does "execute the stimuli" mean in this context? Does it mean to pass the entries of that list into some other function, does it mean to run the functions with the names stored in the entries in the list, or does it mean something else?
If the entries in the trial list are script or function names and executing them means to call the scripts or functions, the easiest approach probably would be to change your .txt file into a .m file (just change the extension, assuming there's no extra text in the file) and run it.

Categorías

Más información sobre Large Files and Big Data en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by