1. Run makeData.m in Matlab to generate data files needed.
2. Modify line 12 of path_integrator.py file, pointing it the the folder containing data files generated in the previous step.
3. Load path_integrator.py in Nengo and run.
4. In the simulation window (open by right-clicking "Path-Integrator" -> "run Interactive Plot"), right-click "PI"->"function" to open the function representation view. Then click the play button at the right bottom. Right-click "control"->"control" to the adjust input along two axis.
Note: An error may occur at the line 20 of makeData.m in old versions of MATLAB or Octave. Please try to substitute the tildes in line 20 with other variable names (e.g. "var1", "var2").