Error in pdm_experiment_eeg_only
显示 更早的评论
Hi
I hope that you`ll be fine
I have a big problem with my program. that`s error is
Error in pdm_experiment_eeg_only (line 42)
framrate = screen ('framerate',0);
whats your idea for dissolving this?
thanks a lot
2 个评论
Walter Roberson
2022-5-29
That is not the complete error message; it does not say what MATLAB thinks is wrong.
For example, some of the causes of an error on that line might be:
- you have a variable named screen in which case that would be an attempt to index it at location zero
- you might think you are using Psychtoolbox but you did not install it or it is not in your MATLAB path
Mohan Doost
2022-5-29
编辑:Mohan Doost
2022-5-29
回答(2 个)
Voss
2022-5-29
MATLAB is case-sensitive, so try changing screen to Screen:
framrate = Screen ('framerate',0);
2 个评论
Mohan Doost
2022-5-29
Voss
2022-5-29
You're welcome!
I'm afraid I don't have your file pdm_experiment_eeg_only.m, so I cannot see what line 123 says. Would it be too much trouble to post it here?
类别
在 帮助中心 和 File Exchange 中查找有关 Timing and presenting 2D and 3D stimuli 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!