필터 지우기
필터 지우기

I cant find the error in there. can you help me

조회 수: 1 (최근 30일)
Didem
Didem 2017년 1월 10일
댓글: Didem 2017년 1월 10일
Undefined function 'reflect_collusion' for input arguments of type 'double'.
Error in odev (line 37) [x_coords,y_coords,stepsx,stepsy] =reflect_collusion(x_coords,y_coords,stepsx,stepsy,i,k);

채택된 답변

Stephen23
Stephen23 2017년 1월 10일
편집: Stephen23 2017년 1월 10일
This might be a spelling mistake, perhaps you meant to write reflect_collision.
Otherwise you will need to make sure that there is a function with that name of your path:
which reflect_collusion
If there is none found then you either need to write it, or download it, or correct its name, or add its directory to the MATLAB path, or make the function name the same as the file name. MATLAB cannot use functions that it does not know about, so it is up to you to make sure that it knows where to find all functions that it needs to run your code.
  댓글 수: 1
Didem
Didem 2017년 1월 10일
I added to path then problem solved, thank you so much.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Downloads에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by