Matlab trial list behavioral experiment
1 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
回答(1 个)
Steven Lord
2023-5-4
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!