Problems running a code on 2012a
조회 수: 3 (최근 30일)
이전 댓글 표시
I have the following code. http://www.cs.colorado.edu/~grudic/teaching/CSCI3202_2007/astar_test_files.zip
When I run astar_test.m on my laptop (running windows 7 and matlab 2010b) it works fine. When I'm running it on my desktop (windows 7 and matlab 2012a) I get
Undefined function 'my_astar' for input arguments of type 'double'.
Error in astar_test (line 26) [my_path_rows my_path_cols] = my_astar(map,[start_row start_col],[goal_row goal_col]);
Any ideas?
댓글 수: 0
채택된 답변
Oleg Komarov
2012년 8월 20일
Add the path where you unzipped astar_test_files.zip to the MATLAB search path.
addpath yourpath
or File > Set Path
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Nonlinear Model Identification에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!