===========================================================
NEURON AND NERVE ELECTRICAL STIMULATION ENVIRONMENT
===========================================================

-----------------------------------------------------------
DESCRIPTION
-----------------------------------------------------------

This MATLAB app provides an interactive environment for exploring how action 
potentials form and propagate in unmyelinated neurons and nerves. Designed 
for educational use, it allows users to adjust neuron parameters, apply stimuli, 
and visualise action potential behaviour.

Simulation Information:
- Single-neuron, space clamped action potentials (Hodgkin-Huxley model).
- Action potential propagation along an axon (Cable Theory).
- Compound action potentials in nerves.

Please see the User Guide for more detail.

-----------------------------------------------------------
HOW TO RUN THE APP
-----------------------------------------------------------

REQUIREMENTS:
- MATLAB R2016b or newer (built and tested on MATLAB R2023b)
- OR Access through MATLAB Online
- Signal Processing Toolbox

SETUP:
1. Unzip the downloaded folder.
2. Open MATLAB and navigate to the unzipped folder.
3. Right-click the `.mlapp` file and select "Run."

-----------------------------------------------------------
HOW TO USE THE APP
-----------------------------------------------------------

- Navigate using the tabs located at the top of the window.
- Adjust parameters.
- Observe updates in simulation plots.
- Hover over ⓘ icons for additional information and guidance.

-----------------------------------------------------------
CREDITS & ACKNOWLEDGEMENTS
-----------------------------------------------------------

Developer: Oliver Foley  
Email: ojf30@bath.ac.uk  

Supervisor: Leen Jabban

Note that parts of the code are adapted from:

    File Name: NumHH.m
    Paper Title: Optimised Architectures and Implementations for Efficient Neuromorphic Hardware Design
    Author: Jonathan G-H-Cater
    Date: 08/04/2016

    File Name: stEcab.m
    Book Title: Mathematics for Neuroscientists
    Author: Gabbiani & Cox
    Date: 2017

(Also cited where used in the code)

===========================================================
