Error in pdm_experiment_eeg_only
Show older comments
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 Comments
Walter Roberson
on 29 May 2022
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
on 29 May 2022
Edited: Mohan Doost
on 29 May 2022
Answers (2)
Voss
on 29 May 2022
MATLAB is case-sensitive, so try changing screen to Screen:
framrate = Screen ('framerate',0);
2 Comments
Mohan Doost
on 29 May 2022
Voss
on 29 May 2022
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?
Categories
Find more on Timing and presenting 2D and 3D stimuli in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!