Matlab trial list behavioral experiment

조회 수: 1 (최근 30일)
STEFANA
STEFANA 2023년 5월 4일
답변: Steven Lord 2023년 5월 4일
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!

답변 (1개)

Steven Lord
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.

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by