BrianHaidet / AlphaPhoenix

Codes from videos etc.
159 stars 32 forks source link

MATLAB Giving error on runtime #3

Open WillMartin03 opened 1 year ago

WillMartin03 commented 1 year ago

Just installed MATLAB to try this out and when I tried to run it received Unrecognized function or variable 'ASTARPATH_mod4neigh'.

Error in P_snakegame_maintainhampath_antizigzag_nascar_split_fear-forpublish (line 122) optimalPathAstar=ASTARPATH_mod4neigh(ceil(snake(1)/l),mod(snake(1)-1,l)+1,field,goalm,1);

Have the files necessary added to MATLAB path and not sure why this is occurring. Probably worth looking into to see if you get the same error.