The HHsim simulator is an interactive educational tool, often used within MATLAB, designed to model action potentials based on the classic Hodgkin-Huxley equations. It allows users to visualize and analyze how ion channels—specifically Sodium (Na⁺) and Potassium (K⁺)—influence neural voltage in real-time. Here is how to model action potentials using HHsim: 1. Basic Setup and Operation
Initial Setup: Launch the simulator (typically by running hhsim in the MATLAB command window).
Resetting: Use the clear button at the bottom to reset the screen to a clean state.
Parameters: You can view or change default parameters—such as membrane capacitance and ionic conductances—in the “Membrane” window. 2. Stimulating Action Potentials
Stimulus Window: Open the “Stimuli” window to define electric stimulation.
Stim Settings: Set the “stim strength” (amplitude) and “duration” for pulses.
Threshold: A key task is finding the minimum stimulus required to generate an action potential (threshold current).
Applying Stimulus: Use the “Stim 1” button to apply current and generate a, potential, which allows you to observe action potentials or simply a graded potential (if the stimulus is below threshold). 3. Simulating Membrane Characteristics
Active Channels: Ensure “Fast Sodium” and “Delayed Rectifier” (Potassium) channels are enabled in the “Channels” window to simulate actual spiking behavior.
Passive Behavior: Turn off the sodium and potassium channels to observe passive membrane responses to stimulation.
Action Potential Characteristics: Observe the rapid rise in sodium conductance followed by the slower potassium conductance, which results in the characteristic action potential shape. 4. Key Experiments to Perform
Threshold Test: Gradually increase the stim strength (starting at 1) to determine the threshold required for a full action potential.
Duration Test: Keep the stimulus strength low and increase the stimulus duration to find the lowest duration that triggers an action potential.
Temperature Effects: Change the temperature parameters to observe how it affects the speed of the action potential (faster at warmer temperatures, slower at colder). If you are interested, I can provide more information on:
How to adjust the specific parameters for Na⁺, K⁺, or leakage channels. The mathematical equations behind the simulator.
Tips for troubleshooting common simulation errors in MATLAB. Understanding Membrane Potentials in HHsim | PDF – Scribd