What does this error mean?

조회 수: 1 (최근 30일)
nehohmee
nehohmee 2020년 2월 27일
댓글: Walter Roberson 2020년 2월 27일
Hi there,
I am really new to matlab and I have difficulties understanding what this error means. Your help will really be appreciated. Thank you!
Error in function Close: Incorrect argument type supplied
Discrepancy between a specified and supplied argument:
Specified Argument Description:
direction: Input
position: 1
presence:
formats allowed:
double
minimum M: 1
maximum M: 1
minimum N: 1
maximum N: 1
minimum P: 1
maximum P: 1
Provided Argument Description:
direction: Input
position: 1
presence: present
format:unclassified
number of dimensions: 2
M: 1
N: 1
P: 1
  댓글 수: 4
nehohmee
nehohmee 2020년 2월 27일
I am using the PsychToolboxSound. The code consisting of the PsychToolboxSound is as listed:
% Program sound server.
PsychToolboxSoundServer('init')
PsychToolboxSoundServer('Load',1,PunishSound);
% Set soft code handler to trigger sounds.
BpodSystem.SoftCodeHandlerFunction = 'SoftCodeHandler_PlaySound';
May I know if the problem lies with this code or the code of the PsychToolboxSound instead?
Thank you!
Walter Roberson
Walter Roberson 2020년 2월 27일
Unfortunately I do not have experience with the audio part of that toolbox. If you post a complete traceback I might possibly be able to figure something out.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by