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
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
Mohan Doost 2022년 5월 29일
편집: Mohan Doost 2022년 5월 29일
Thanks a lot for your guidance
the complete error is:
>> pdm_experiment_eeg_only
Cannot find an exact (case-sensitive) match for 'screen'
The closest match is: Screen in C:\Windows\System32\Screen.m
Error in pdm_experiment_eeg_only (line 42)
framrate = screen ('framerate',0);

댓글을 달려면 로그인하십시오.

답변 (2개)

Walter Roberson
Walter Roberson 2022년 5월 29일

0 개 추천

You need to install http://psychtoolbox.org/

댓글 수: 1

Mohan Doost
Mohan Doost 2022년 5월 29일
thanks a lot
I installed it.
but I have blow error again:
>> pdm_experiment_eeg_only
Cannot find an exact (case-sensitive) match for 'screen'
The closest match is: Screen in D:\Program
Files\MATLAB\R2018b\toolbox\Psychtoolbox\PsychBasic\MatlabWindowsFilesR2007a\Screen.mexw64
Error in pdm_experiment_eeg_only (line 42)
framrate = screen ('framerate',0);

댓글을 달려면 로그인하십시오.

Voss
Voss 2022년 5월 29일

0 개 추천

MATLAB is case-sensitive, so try changing screen to Screen:
framrate = Screen ('framerate',0);

댓글 수: 2

Mohan Doost
Mohan Doost 2022년 5월 29일
Im so happy for your comment
you helped me a lot
I have error again
Error using pdm_experiment_eeg_only (line 123)
Please input one subject/run for result file name as string ...
Voss
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에 대해 자세히 알아보기

태그

질문:

2022년 5월 29일

댓글:

2022년 5월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by